---
apiVersion: v1
kind: Service
metadata:
    name: comment-db
    labels:
        app: reddit
        component: mongo
        comment-db: "true"
spec:
    ports:
    - port: 27017
      protocol: TCP
      targetPort: 27017
    selector:
        app: reddit
        component: mongo
        comment-db: "true"