---
apiVersion: v1
kind: Service
metadata:
  labels:
    run: mongodb
  name: mongodb
spec:
  ports:
  - port: 27017
    protocol: TCP
    targetPort: 27017
  selector:
    run: mongodb
  type: ClusterIP