mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #19922 from gmarek/kube-up
Slightly change warning printed when not all nodes are ready in validate-cluster.
This commit is contained in:
commit
7cd28ec178
@ -57,7 +57,7 @@ while true; do
|
|||||||
else
|
else
|
||||||
# Set the timeout to ~25minutes (100 x 15 second) to avoid timeouts for 1000-node clusters.
|
# Set the timeout to ~25minutes (100 x 15 second) to avoid timeouts for 1000-node clusters.
|
||||||
if (( attempt > 100 )); then
|
if (( attempt > 100 )); then
|
||||||
echo -e "${color_red}Detected ${ready} ready nodes, found ${found} nodes out of expected ${EXPECTED_NUM_NODES}. Your cluster may not be working.${color_norm}"
|
echo -e "${color_red}Detected ${ready} ready nodes, found ${found} nodes out of expected ${EXPECTED_NUM_NODES}. Your cluster may not be fully functional.${color_norm}"
|
||||||
"${KUBE_ROOT}/cluster/kubectl.sh" get nodes
|
"${KUBE_ROOT}/cluster/kubectl.sh" get nodes
|
||||||
exit 2
|
exit 2
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user