apiVersion: v1
kind: Service
metadata:
  labels:
    name: mongo
  name: mongo
spec:
  ports:
    - port: 27017
      name: '27017' 
      targetPort: 27017
  type: ClusterIP
  selector:
    app: mongo
