Merge pull request 'fix: bootstrap kube-vip without leader election' (#97) from stage into master
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 17m12s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 17m12s
Reviewed-on: #97
This commit was merged in pull request #97.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user