oc-deploy/kube/oc-mongo/mongo/mongo-service.yml

13 lines
177 B
YAML
Raw Normal View History

2024-08-30 16:13:10 +02:00
# mongo-service.yml
apiVersion: v1
kind: Service
metadata:
name: mongo
spec:
selector:
app: mongo
ports:
- protocol: TCP
port: 27017
targetPort: 27017