From ad8165d0fd2e2969b114107288edc9a1aa6312e5 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 19 Jan 2023 23:56:10 +0000 Subject: [PATCH] feat: use nodeport --- kustomize/postgres/postgres.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kustomize/postgres/postgres.yaml b/kustomize/postgres/postgres.yaml index 3706b4d5..d1c7074a 100644 --- a/kustomize/postgres/postgres.yaml +++ b/kustomize/postgres/postgres.yaml @@ -25,3 +25,11 @@ spec: resources: requests: storage: 1Gi + service: + metadata: + annotations: + my-annotation: value1 + labels: + my-label: value2 + type: NodePort + nodePort: 32000