From ff68c8cd24baef66ebb038d237b8f501c84edde5 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 6 Sep 2024 16:09:25 +0200 Subject: Add script and configuration for Kubernetes --- k8s/postgres-service.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 k8s/postgres-service.yaml (limited to 'k8s/postgres-service.yaml') diff --git a/k8s/postgres-service.yaml b/k8s/postgres-service.yaml new file mode 100644 index 0000000..ad3b969 --- /dev/null +++ b/k8s/postgres-service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: postgres-service +spec: + ports: + - port: 5432 + targetPort: 5432 + selector: + app: postgres + type: ClusterIP -- cgit v1.2.3-18-g5258