Patroni and HAProxy: which health check to use (/primary, /replica, /leader and the rest)
Originally published at https://twinhullhq.com/articles/patroni-haproxy-health-check-endpoints.html
HAProxy cannot see which PostgreSQL node is the primary. It asks Patroni, over HTTP, and Patroni ans
twinhull.hashnode.dev5 min read