Update cluster docs with good timeout value

This commit is contained in:
Daniel A. Wozniak 2024-10-25 13:58:02 -07:00 committed by Daniel Wozniak
parent 4b19b50fbc
commit 8b0d609ec6
2 changed files with 7 additions and 7 deletions

1
changelog/66888.fixed.md Normal file
View file

@ -0,0 +1 @@
Update master cluster tutorial haproxy config with proper timeouts for publish port

View file

@ -45,18 +45,20 @@ HAProxy:
mode tcp
bind 10.27.5.116:4505
option tcplog
timeout client 1m
# This timeout is equal to the publish_session setting of the
# masters.
timeout client 86400s
default_backend salt-master-pub-backend
backend salt-master-pub-backend
mode tcp
option tcplog
#option log-health-checks
log global
#balance source
balance roundrobin
timeout connect 10s
timeout server 1m
# This timeout is equal to the publish_session setting of the
# masters.
timeout server 86400s
server rserve1 10.27.12.13:4505 check
server rserve2 10.27.7.126:4505 check
server rserve3 10.27.3.73:4505 check
@ -70,11 +72,8 @@ HAProxy:
backend salt-master-req-backend
mode tcp
option tcplog
#option log-health-checks
log global
balance roundrobin
#balance source
timeout connect 10s
timeout server 1m
server rserve1 10.27.12.13:4506 check