Patroni
A template for PostgreSQL high availability with Etcd, Consul, etc.
.... It will have its own caveats. Use wisely. Currently supported PostgreSQL versions 9.3 to 14. Patroni originated as a fork of Governor, the project from Compose. It includes plenty of new features. For an example of a Docker-based deployment with Patroni, see Spilo, currently in use at Zalando.