Files
DocsGPT/deployment/k8s/services/mongo-service.yaml
2025-02-05 18:04:41 +00:00

12 lines
186 B
YAML

apiVersion: v1
kind: Service
metadata:
name: mongodb-service
spec:
selector:
app: mongodb
ports:
- protocol: TCP
port: 27017
targetPort: 27017
type: ClusterIP