From ad10eb371b62e4e69e07e72d820cf33d87845ffd Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Mon, 18 Dec 2023 01:18:16 +1000 Subject: [PATCH] add pg --- manifests/03-services/svc-postrges.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/manifests/03-services/svc-postrges.yaml b/manifests/03-services/svc-postrges.yaml index eabf00f..ab5976d 100644 --- a/manifests/03-services/svc-postrges.yaml +++ b/manifests/03-services/svc-postrges.yaml @@ -8,6 +8,8 @@ metadata: labels: app: postgres spec: + externalIPs: + - 10.0.4.12 selector: app: postgres ports: @@ -16,14 +18,14 @@ spec: port: 5432 #nodePort: 30432 #type: NodePort ---- -apiVersion: v1 -kind: Endpoints -metadata: - namespace: pg - name: postgres #<------ Should match the name of Service -subsets: - - addresses: - - ip: 10.0.4.12 - ports: - - port: 5432 \ No newline at end of file +# --- +# apiVersion: v1 +# kind: Endpoints +# metadata: +# namespace: pg +# name: postgres #<------ Should match the name of Service +# subsets: +# - addresses: +# - ip: 10.0.4.12 +# ports: +# - port: 5432 \ No newline at end of file