Merge pull request #116652 from pacoxu/kubemark-test

print node status when failed for kubemark start
This commit is contained in:
Kubernetes Prow Robot 2023-04-11 18:18:55 -07:00 committed by GitHub
commit 1f777557f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}" describe node
# 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