k8s/manifests/03-services/svc-postrges.yaml

19 lines
257 B
YAML
Raw Normal View History

2023-12-14 19:34:39 +10:00
---
apiVersion: v1
kind: Service
metadata:
namespace: vdk2ch
name: postgres
labels:
app: postgres
spec:
selector:
app: postgres
ports:
- protocol: TCP
name: postgres
port: 5432
#nodePort: 30432
#type: NodePort