apiVersion: v1
kind: Service
metadata:
  labels:
    app: node-guestbook
    tier: db
  name: mongo-service
spec:
  ports:
    - port: 27017
      targetPort: 27017
  selector:
    app: node-guestbook
    tier: db
