add log for kubemark start

This commit is contained in:
Paco Xu 2023-03-15 22:36:36 +08:00
parent 8e01ee79bf
commit a780544f58

View File

@ -183,6 +183,7 @@ function wait-for-hollow-nodes-to-run-or-timeout {
# Fail it if it already took more than 30 minutes.
if [ $((now - start)) -gt 1800 ]; then
echo ""
"${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" get node -o yaml
# shellcheck disable=SC2154 # Color defined in sourced script
echo -e "${color_red} Timeout waiting for all hollow-nodes to become Running. ${color_norm}"
# Try listing nodes again - if it fails it means that API server is not responding