add the possibility to create a standby cluster that streams from a remote primary

This commit is contained in:
machine424
2022-03-11 13:16:46 +01:00
parent ca0c27a51b
commit eb990fd456
8 changed files with 150 additions and 36 deletions
+4
View File
@@ -472,6 +472,10 @@ spec:
type: string
gs_wal_path:
type: string
standby_host:
type: string
standby_port:
type: string
streams:
type: array
nullable: true
+3 -1
View File
@@ -10,6 +10,8 @@ spec:
numberOfInstances: 1
postgresql:
version: "14"
# Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming.
# Make this a standby cluster and provide either the s3 bucket path of source cluster or the remote primary host for continuous streaming.
standby:
s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/"
# standby_host: ""
# standby_port: ""