apiVersion: v1
kind: Service
metadata:
  labels:
    app: nodejs-sample
    tier: db
  name: nodejs-sample-mongodb
spec:
  ports:
    - port: 27017
      targetPort: 27017
  selector:
    app: nodejs-sample
    tier: db
