In this video I am showing you how to setup PostgreSQL HA cluster with Patroni, we are using HA proxy as a load-balancer and etcd is our "witness" Configuration Files: https://dem-linux.com/setup-patroni-postgresql-ha-cluster/