apiVersion: v1
kind: Service
metadata:
  labels:
    app: mongodb-replicaset
    chart: mongodb-replicaset-3.9.6
    release: RELEASE-NAME
  name: mongodb-replicaset-service
  namespace: default
spec:
  ports:
  - name: mongodb
    port: 27017
    protocol: TCP
    targetPort: 27017
  selector:
    app: mongodb-replicaset
    release: RELEASE-NAME
  sessionAffinity: None
  type: LoadBalancer
