Skip to content

declaring etcd servers in patroni.yml when dcs_exists: true #609

Closed Answered by vitabaks
legrandlegrand asked this question in Q&A
Discussion options

You must be logged in to vote

hello @legrandlegrand

# if dcs_type: "etcd" and dcs_exists: true
patroni_etcd_hosts: []  # list of servers of an existing etcd cluster
#  - { host: "10.128.64.140", port: "2379" }
#  - { host: "10.128.64.142", port: "2379" }
#  - { host: "10.128.64.143", port: "2379" }

https://github.com/vitabaks/postgresql_cluster/blob/master/vars/main.yml#L71

if you are using your ETCD cluster, which is not controlled by postgresql_cluster automation, then you should remove IP addresses from the inventory and specify them in the patroni_etcd_hosts variable.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by legrandlegrand
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants