fix: run kube-vip in control-plane-only mode during bootstrap
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
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.
This commit is contained in:
@@ -187,7 +187,6 @@ in
|
|||||||
--interface "$iface" \
|
--interface "$iface" \
|
||||||
--address "$vip" \
|
--address "$vip" \
|
||||||
--controlplane \
|
--controlplane \
|
||||||
--services \
|
|
||||||
--arp \
|
--arp \
|
||||||
--leaderElection \
|
--leaderElection \
|
||||||
> /etc/kubernetes/manifests/kube-vip.yaml
|
> /etc/kubernetes/manifests/kube-vip.yaml
|
||||||
@@ -297,7 +296,6 @@ in
|
|||||||
--interface "$iface" \
|
--interface "$iface" \
|
||||||
--address "$vip" \
|
--address "$vip" \
|
||||||
--controlplane \
|
--controlplane \
|
||||||
--services \
|
|
||||||
--arp \
|
--arp \
|
||||||
--leaderElection \
|
--leaderElection \
|
||||||
> /etc/kubernetes/manifests/kube-vip.yaml
|
> /etc/kubernetes/manifests/kube-vip.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user