Files
patroni/extras
acecbe0d8f Fix a couple of linter problems, delete TODO.md (#2526)
Fix a couple of linter problems, remove trailing whitespaces

Co-authored-by: Alexander Kukushkin <[email protected]>
2023-01-17 10:52:03 +01:00
..

confd

confd directory contains haproxy and pgbouncer template files for the confd -- lightweight configuration management tool You need to copy content of confd directory into /etcd/confd and run confd service:

$ confd -prefix=/service/$PATRONI_SCOPE -backend etcd -node $PATRONI_ETCD_URL -interval=10

It will periodically update haproxy.cfg and pgbouncer.ini with the actual list of Patroni nodes from etcd and "reload" haproxy and pgbouncer.ini when it is necessary.

startup-scripts

startup-scripts directory contains startup scripts for various OSes and management tools for Patroni.