Andrew Rynhard ae83221e4a test: add integration test for full boot sequence
This adds an integration test that can be ran on a KVM enabled Linux
machine. It makes use of docker, matchbox, dnsmasq, libvirt, and HAproxy
to create an HA cluster.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-15 09:02:52 -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