apiVersion: v1
kind: Service
metadata:
  labels:
    name: mongo
    app.kubernetes.io/name: pacman
  name: mongo
  namespace: pacman-app
spec:
  type: ClusterIP
  ports:
    - port: 27017
      targetPort: 27017
  selector:
    name: mongo
    app.kubernetes.io/name: pacman
