PostgreSQL14 HA with Patroni 2.1, Etcd, Haproxy, Keepalived (EL8)

Patroni is a cluster manager tool used for customizing and automating deployment and maintenance of high availability PostgreSQL clusters. 
In addition, Patroni is capable of handling database replication, backup, and restoration configurations.
In this blog I deploy PostgreSQL for High Availability (HA) and show how it works during a master failure.

01. software installation and environment configuration
02. Failure testing