From c445638d4a6dcb857016c8bf686f0b9973869ac3 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Mon, 2 Mar 2026 22:52:44 +0000 Subject: [PATCH] fix: run kube-vip in control-plane-only mode during bootstrap Remove --services from kube-vip static pod manifests for init/join. Service LB mode can crash-loop during kubeadm bootstrap before cluster RBAC is ready, which prevented VIP binding. --- nixos/kubeadm/modules/k8s-common.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/kubeadm/modules/k8s-common.nix b/nixos/kubeadm/modules/k8s-common.nix index 8a4b255..207ec4c 100644 --- a/nixos/kubeadm/modules/k8s-common.nix +++ b/nixos/kubeadm/modules/k8s-common.nix @@ -187,7 +187,6 @@ in --interface "$iface" \ --address "$vip" \ --controlplane \ - --services \ --arp \ --leaderElection \ > /etc/kubernetes/manifests/kube-vip.yaml @@ -297,7 +296,6 @@ in --interface "$iface" \ --address "$vip" \ --controlplane \ - --services \ --arp \ --leaderElection \ > /etc/kubernetes/manifests/kube-vip.yaml