From 4aa0b15af887dd1a1a99c80d7a513dcf73626d96 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 3 Jan 2025 11:43:29 -0600 Subject: [PATCH] haproxy for talos k8s api --- nixos/hosts/telperion/config/haproxy.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/nixos/hosts/telperion/config/haproxy.nix b/nixos/hosts/telperion/config/haproxy.nix index 0d471ac..f4a3cd2 100644 --- a/nixos/hosts/telperion/config/haproxy.nix +++ b/nixos/hosts/telperion/config/haproxy.nix @@ -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