kind: Service
apiVersion: v1
metadata:
  name: mongo-lb
  namespace: mongo
spec:
  ports:
    - protocol: TCP
      port: 27017
      targetPort: 27017
  selector:
    app.kubernetes.io/name: pacman
    name: mongo
  type: LoadBalancer
  sessionAffinity: None
