diff --git a/manifests/03-services/svc-postrges.yaml b/manifests/03-services/svc-postrges.yaml index 3c93101..eabf00f 100644 --- a/manifests/03-services/svc-postrges.yaml +++ b/manifests/03-services/svc-postrges.yaml @@ -16,3 +16,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