haproxy for talos k8s api

This commit is contained in:
Joseph Hanson 2025-01-03 11:43:29 -06:00
parent 441bf8a0ad
commit 4aa0b15af8

View file

@ -21,26 +21,12 @@
timeout http-keep-alive 10s
timeout check 10s
frontend k8s_homelab_apiserver
frontend k8s_theshire_apiserver
bind *:6443
mode tcp
option tcplog
default_backend k8s_homelab_controlplane
frontend k8s_theshire_apiserver
bind *:6444
mode tcp
option tcplog
default_backend k8s_theshire_controlplane
backend k8s_homelab_controlplane
option httpchk GET /healthz
http-check expect status 200
mode tcp
option ssl-hello-chk
balance roundrobin
server shadowfax 10.1.1.61:6443 check
backend k8s_theshire_controlplane
option httpchk GET /healthz
http-check expect status 200