apiVersion: v1
kind: Service
metadata:
  name: backend
  namespace: todos
spec:
  externalTrafficPolicy: Cluster
  ports:
  - port: 3001
    targetPort: 3001
  selector:
    app: master
  type: LoadBalancer