ansible-role-k3s/molecule/highavailabilitydb/haproxy-loadbalancer.conf.j2
2020-10-17 16:31:04 +01:00

13 lines
293 B
Django/Jinja

frontend loadbalancer
bind *:6443
mode tcp
default_backend control_nodes
timeout client 1m
backend control_nodes
mode tcp
balance roundrobin
server node2 node2:6443
server node3 node3:6443
timeout connect 30s
timeout server 30m