use describe node to print node events as well
This commit is contained in:
		@@ -183,7 +183,7 @@ function wait-for-hollow-nodes-to-run-or-timeout {
 | 
				
			|||||||
    # Fail it if it already took more than 30 minutes.
 | 
					    # Fail it if it already took more than 30 minutes.
 | 
				
			||||||
    if [ $((now - start)) -gt 1800 ]; then
 | 
					    if [ $((now - start)) -gt 1800 ]; then
 | 
				
			||||||
      echo ""
 | 
					      echo ""
 | 
				
			||||||
      "${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" get node -o yaml
 | 
					      "${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" describe node
 | 
				
			||||||
      # shellcheck disable=SC2154 # Color defined in sourced script
 | 
					      # shellcheck disable=SC2154 # Color defined in sourced script
 | 
				
			||||||
      echo -e "${color_red} Timeout waiting for all hollow-nodes to become Running. ${color_norm}"
 | 
					      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
 | 
					      # Try listing nodes again - if it fails it means that API server is not responding
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user