apiVersion: v1
kind: Service
metadata:
  name: mongo
  labels:
    name: mongo
spec:
  ports:
  - port: 27017
    targetPort: 27017
# D Sanders
# Remove NodePort and make service headless
#  type: NodePort
  selector:
    role: mongo
