Files
Odoo-Build/k8s/postgres-svc.yaml
T
2024-11-11 10:12:19 +01:00

13 lines
273 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: postgres # Sets service name
labels:
app: postgres # Labels and Selectors
spec:
type: NodePort # Sets service type
ports:
- port: 5432 # Sets port to run the postgres application
selector:
app: postgres