diff --git a/postgres0.yml b/postgres0.yml index 6b429ff0..bac56b1b 100644 --- a/postgres0.yml +++ b/postgres0.yml @@ -17,7 +17,18 @@ restapi: # cacert: /etc/ssl/certs/ssl-cacert-snakeoil.pem etcd: + #Provide host to do the initial discovery of the cluster topology: host: 127.0.0.1:2379 + #Or use "hosts" to provide multiple endpoints + #Could be a comma separated string: + #hosts: host1:port1,host2:port2 + #or an actual yaml list: + #hosts: + #- host1:port1 + #- host2:port2 + #Once discovery is complete Patroni will use the list of advertised clientURLs + #It is possible to change this behavior through by setting: + #use_proxies: true bootstrap: # this section will be written into Etcd:///config after initializing new cluster diff --git a/postgres1.yml b/postgres1.yml index 7c35a459..2bc12f1a 100644 --- a/postgres1.yml +++ b/postgres1.yml @@ -17,7 +17,18 @@ restapi: # cacert: /etc/ssl/certs/ssl-cacert-snakeoil.pem etcd: + #Provide host to do the initial discovery of the cluster topology: host: 127.0.0.1:2379 + #Or use "hosts" to provide multiple endpoints + #Could be a comma separated string: + #hosts: host1:port1,host2:port2 + #or an actual yaml list: + #hosts: + #- host1:port1 + #- host2:port2 + #Once discovery is complete Patroni will use the list of advertised clientURLs + #It is possible to change this behavior through by setting: + #use_proxies: true bootstrap: # this section will be written into Etcd:///config after initializing new cluster diff --git a/postgres2.yml b/postgres2.yml index 7187aac6..e1f29b97 100644 --- a/postgres2.yml +++ b/postgres2.yml @@ -17,7 +17,18 @@ restapi: # cacert: /etc/ssl/certs/ssl-cacert-snakeoil.pem etcd: + #Provide host to do the initial discovery of the cluster topology: host: 127.0.0.1:2379 + #Or use "hosts" to provide multiple endpoints + #Could be a comma separated string: + #hosts: host1:port1,host2:port2 + #or an actual yaml list: + #hosts: + #- host1:port1 + #- host2:port2 + #Once discovery is complete Patroni will use the list of advertised clientURLs + #It is possible to change this behavior through by setting: + #use_proxies: true bootstrap: # this section will be written into Etcd:///config after initializing new cluster