# Set the timeout to ~10minutes (40 x 15 second) to avoid timeouts for 100-node clusters.
# Set the timeout to ~10minutes (40 x 15 second) to avoid timeouts for 100-node clusters.
if(( attempt > 40 ));then
if(( attempt > 40 ));then
echo-e"${color_red}Detected ${ready} ready nodes, found ${found} nodes out of expected ${NUM_MINIONS}. 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 working.${color_norm}"