mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
use describe node to print node events as well
This commit is contained in:
parent
a780544f58
commit
a2cf4e7345
@ -183,7 +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
|
||||
"${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
|
||||
|
Loading…
Reference in New Issue
Block a user