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
