fix: reduce rebuild wait bottlenecks
Deploy Cluster / Terraform (push) Successful in 33s
Deploy Cluster / Ansible (push) Failing after 47m21s

This commit is contained in:
2026-05-03 16:03:24 +00:00
parent 95e39306c5
commit ff542024d2
4 changed files with 22 additions and 7 deletions
+7 -3
View File
@@ -161,11 +161,15 @@
when: kube_vip_rollout.rc != 0
- name: Wait for control plane node readiness
command: kubectl wait --for=condition=Ready node/{{ item }} --timeout=30s
shell: |
set -euo pipefail
kubectl get node/{{ item }} -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}' | grep -qx True
args:
executable: /bin/bash
register: control_plane_ready
until: control_plane_ready.rc == 0
retries: 20
delay: 15
retries: 90
delay: 10
changed_when: false
loop: "{{ groups['control_plane'] }}"