1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
apiVersion: v1 kind: Service metadata: labels: io.kompose.service: edgex-mongo name: edgex-mongo spec: ports: - name: "27017" port: 27017 targetPort: 27017 selector: io.kompose.service: edgex-mongo status: loadBalancer: {}