apiVersion: v1
kind: Service
metadata:
  name: mongodb
  namespace: mscarceller
  labels:
    app: mongodb
    type: NodePort
spec:
  selector:
    app: mongodb
  type: NodePort
  ports:
   - name: mongodb-port
     protocol: TCP
     port: 27017
     targetPort: 27017