This commit is contained in:
parent
077760f8a3
commit
ad10eb371b
@ -8,6 +8,8 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: postgres
|
app: postgres
|
||||||
spec:
|
spec:
|
||||||
|
externalIPs:
|
||||||
|
- 10.0.4.12
|
||||||
selector:
|
selector:
|
||||||
app: postgres
|
app: postgres
|
||||||
ports:
|
ports:
|
||||||
@ -16,14 +18,14 @@ spec:
|
|||||||
port: 5432
|
port: 5432
|
||||||
#nodePort: 30432
|
#nodePort: 30432
|
||||||
#type: NodePort
|
#type: NodePort
|
||||||
---
|
# ---
|
||||||
apiVersion: v1
|
# apiVersion: v1
|
||||||
kind: Endpoints
|
# kind: Endpoints
|
||||||
metadata:
|
# metadata:
|
||||||
namespace: pg
|
# namespace: pg
|
||||||
name: postgres #<------ Should match the name of Service
|
# name: postgres #<------ Should match the name of Service
|
||||||
subsets:
|
# subsets:
|
||||||
- addresses:
|
# - addresses:
|
||||||
- ip: 10.0.4.12
|
# - ip: 10.0.4.12
|
||||||
ports:
|
# ports:
|
||||||
- port: 5432
|
# - port: 5432
|
Loading…
Reference in New Issue
Block a user