Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Jan 19, 2023
1 parent 1e7cb5d commit 1b05848
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions operator/images/cluster-setup/content/bin/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ check_pod_by_label() {
i=$((i+1))
if [[ $i -eq "${numOfAttempts}" ]]; then
printf "\n[ERROR] Pod %s not found by timeout \n" "$label" >&2
kubectl -n "$ns" get pods
kubectl -n "$ns" get statefulsets -o yaml
kubectl -n "$ns" get events
kubectl -n "$ns" get events | grep Warning
#kubectl -n openshift-operators logs deployment/minio-operator
exit 1
fi
done
Expand Down

0 comments on commit 1b05848

Please sign in to comment.