apiVersion: v1
kind: Service
metadata:
  name: k8sdemo-frontend
  namespace: k8sdemo
spec:
  selector:
    app: k8sdemo-frontend
  type: LoadBalancer
  ports:
   -  protocol: TCP
      port: 80
      targetPort: 3000