Consider to add support for patroni alternatives
https://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling