https://kubedb.com/docs/0.9.0/guides/postgres/clustering/ha_...
https://github.com/kubedb/postgres/blob/master/pkg/leader_el...
Reply on news.ycombinator.com