talos/hack/test/libvirt/haproxy/haproxy.cfg
Andrew Rynhard 88667641df chore: refactor E2E scripts
This PR aims to simplify our E2E scripts.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-26 20:47:25 -08:00

21 lines
547 B
INI

frontend k8s-api
bind 0.0.0.0:6443
bind 127.0.0.1:6443
mode tcp
option tcplog
timeout client 300000
default_backend k8s-api
backend k8s-api
mode tcp
option tcplog
option tcp-check
timeout connect 300000
timeout server 300000
balance roundrobin
default-server inter 10s downinter 5s rise 2 fall 2 slowstart 60s maxconn 250 maxqueue 256 weight 100
server apiserver1 172.28.1.10:6443 check
server apiserver2 172.28.1.11:6443 check
server apiserver3 172.28.1.12:6443 check