fix: bootstrap kube-vip without leader election #97

Merged
micqdf merged 1 commits from stage into master 2026-03-02 23:31:53 +00:00
Showing only changes of commit 262e9eb4d7 - Show all commits

View File

@@ -188,7 +188,6 @@ in
--address "$vip" \
--controlplane \
--arp \
--leaderElection \
> /etc/kubernetes/manifests/kube-vip.yaml
# kube-vip bootstrap workaround for Kubernetes >=1.29.
@@ -208,6 +207,7 @@ in
for container_id in $(crictl ps -a --name kube-vip -q 2>/dev/null); do
echo "--- kube-vip container $container_id ---"
crictl logs "$container_id" 2>/dev/null || true
crictl inspect "$container_id" 2>/dev/null | jq -r '.status | "exitCode=\(.exitCode) reason=\(.reason // "") message=\(.message // "")"' || true
done
echo "==> Checking if VIP is bound:"
ip -4 addr show | grep "$vip" || echo "VIP NOT BOUND"