diff --git a/manifests/complete-postgres-manifest.yaml b/manifests/complete-postgres-manifest.yaml index cd670f009..7bab49efc 100644 --- a/manifests/complete-postgres-manifest.yaml +++ b/manifests/complete-postgres-manifest.yaml @@ -66,9 +66,6 @@ spec: # cluster: "acid-batman" # timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6) # s3_wal_path: "s3://custom/path/to/bucket" - # Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming. Also change the above mentioned numberOfInstances to 1 for this cluster. - # standby: - # s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" # run periodic backups with k8s cron jobs # enableLogicalBackup: true diff --git a/manifests/standby-manifest.yaml b/manifests/standby-manifest.yaml new file mode 100644 index 000000000..a92045dba --- /dev/null +++ b/manifests/standby-manifest.yaml @@ -0,0 +1,20 @@ + +apiVersion: "acid.zalan.do/v1" +kind: postgresql +metadata: + name: acid-standby-cluster + namespace: default +spec: + teamId: "ACID" + volume: + size: 1Gi + numberOfInstances: 1 + postgresql: + version: "10" + # Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming. + standby: + s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" + + maintenanceWindows: + - 01:00-06:00 #UTC + - Sat:00:00-04:00 \ No newline at end of file