---
apiVersion: v1
kind: Service
metadata:
  labels:
    environment: testing
    service: mongo
  name: mongo-external
  namespace: free5gc
spec:
  externalTrafficPolicy: Cluster
  ports:
  - name: mongo
    nodePort: 31717
    port: 27017
    protocol: TCP
    targetPort: 27017
  selector:
    service: mongo
  sessionAffinity: None
  type: NodePort
