diff --git a/content/post/patroni-and-haproxy-agent-checks.md b/content/post/patroni-and-haproxy-agent-checks.md index 9bf2be5..41934f8 100644 --- a/content/post/patroni-and-haproxy-agent-checks.md +++ b/content/post/patroni-and-haproxy-agent-checks.md @@ -134,6 +134,10 @@ backend mast-pgX_psql_readwrite server mast-pg3 mast-pg3:5432 resolvers nsX resolve-prefer ipv4 maxconn 100 check agent-check agent-port 5555 inter 1s fall 2 rise 2 on-marked-down shutdown-sessions port 8008 ``` +And here it is in action: + +![HATop output](/images/patroni-haproxy/haproxy-psql-backend.png) + ### Conclusion I hope that this provides some help to those who want to use Patroni fronted by HAProxy but don't want `DOWN` backends all the time! And of course, I'm open to suggestions for improvement or questions - just send me an email! diff --git a/static/images/patroni-haproxy/haproxy-psql-backend.png b/static/images/patroni-haproxy/haproxy-psql-backend.png new file mode 100644 index 0000000..fdd8d2b Binary files /dev/null and b/static/images/patroni-haproxy/haproxy-psql-backend.png differ