You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# wait_for_nodes returns when all nodes in the workload cluster are Ready.
182
186
wait_for_nodes() {
183
-
echo"Waiting for ${CONTROL_PLANE_MACHINE_COUNT} control plane machine(s), ${WORKER_MACHINE_COUNT} worker machine(s), and ${WINDOWS_WORKER_MACHINE_COUNT:-0} windows machine(s) to become Ready"
184
-
185
-
# Ensure that all nodes are registered with the API server before checking for readiness
186
-
local total_nodes="$((CONTROL_PLANE_MACHINE_COUNT + WORKER_MACHINE_COUNT + WINDOWS_WORKER_MACHINE_COUNT))"
187
-
while [[ $("${KUBECTL}" get nodes -ojson | jq '.items | length')-ne"${total_nodes}" ]];do
echo"Waiting for ${CONTROL_PLANE_MACHINE_COUNT} control plane machine(s), ${WORKER_MACHINE_COUNT} worker machine(s), and ${WINDOWS_WORKER_MACHINE_COUNT:-0} windows machine(s) to become Ready"
194
+
195
+
# Ensure that all nodes are registered with the API server before checking for readiness
196
+
local total_nodes="$((CONTROL_PLANE_MACHINE_COUNT + WORKER_MACHINE_COUNT + WINDOWS_WORKER_MACHINE_COUNT))"
197
+
while [[ $("${KUBECTL}" get nodes -ojson | jq '.items | length')-ne"${total_nodes}" ]];do
0 commit comments