ceph-csi/vendor/k8s.io/kubernetes/examples/nodesjs-mongodb/mongo-service.yaml

12 lines
163 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Service
metadata:
labels:
name: mongo
name: mongo
spec:
ports:
- port: 27017
targetPort: 27017
selector:
name: mongo