postgres service 변경 ClusterIP -> NodePort

This commit is contained in:
ByeonJungHun
2023-07-18 14:28:04 +09:00
parent 1bf2dd31da
commit 6709b48ffd

View File

@@ -6,9 +6,9 @@ metadata:
labels: labels:
app: postgres app: postgres
spec: spec:
type: ClusterIP type: NodePort
ports: ports:
- port: 5432 - port: 5432
# nodePort: 5432 nodePort: 31020
selector: selector:
app: postgres app: postgres