From 834322a66d324fe0cd00f98bd097a6c34abb9923 Mon Sep 17 00:00:00 2001 From: matthias Date: Thu, 20 Mar 2025 13:08:08 +0100 Subject: [PATCH] added standby cluster --- .../standby-cluster/postgres.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cluster-tutorials/standby-cluster/postgres.yaml diff --git a/cluster-tutorials/standby-cluster/postgres.yaml b/cluster-tutorials/standby-cluster/postgres.yaml new file mode 100644 index 0000000..9f85aa0 --- /dev/null +++ b/cluster-tutorials/standby-cluster/postgres.yaml @@ -0,0 +1,23 @@ +apiVersion: cpo.opensource.cybertec.at/v1 +kind: postgresql +metadata: + name: standby-cluster-1 +spec: + standby: + standby_host: "cluster-1.cpo" + standby_port: "5432" + dockerImage: 'docker.io/cybertecpostgresql/cybertec-pg-container:postgres-17.4-1' + numberOfInstances: 1 + postgresql: + version: '17' + resources: + limits: + cpu: 500m + memory: 500Mi + requests: + cpu: 500m + memory: 500Mi + teamId: acid + volume: + size: 5Gi + #storageClass: default-provisioner