Skip to content

Commit f9aed62

Browse files
committed
Add more logs to debug cluster failure
1 parent f31fdba commit f9aed62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster/validate-cluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ while true; do
140140
if [[ "${attempt}" -gt "${last_run:-$MAX_ATTEMPTS}" ]]; then
141141
echo -e "${color_yellow:-}Detected ${ready} ready nodes, found ${found} nodes out of expected ${EXPECTED_NUM_NODES}. Your cluster may not be fully functional.${color_norm}"
142142
kubectl_retry get nodes
143+
kubectl_retry get pods -n kube-system -o wide
143144
if [[ "${REQUIRED_NUM_NODES}" -gt "${ready}" ]]; then
144145
exit 1
145146
else

0 commit comments

Comments
 (0)