Hello! Can’t understand what haprpxy config is right, especially part with psql backend
Is this will be right ?
backend psql
option httpchk
http-check expect status 200
option pgsql-check user repluser
default-server inter 3s fastinter 1s fall 2 rise 2 on-marked-down shutdown-sessions
balance roundrobin
server kube2-worker1 192.168.133.214:5432 check port 5432 backup
server kube2-worker2 192.168.133.215:5432 check port 5432
Thanks