Kubernetes Debugging Cheat Sheet/Wait for pod readiness

Use readiness conditions to gate troubleshooting steps or scripts.

Section: Events and Conditions

Wait for pod readiness

bash
bash
kubectl wait --for=condition=Ready pod/<pod> -n <namespace> --timeout=60s

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Events and Conditions
List events in a namespace
See recent warnings and scheduling errors.
OpenIn sheetbashsame section
Sort events by time
Show oldest to newest event timestamps for a namespace.
OpenIn sheetbashsame section
Sort cluster-wide events by time
Helpful for cluster-wide incident triage.
OpenIn sheetbashsame section
List pod phase and reason
Compact custom columns view for triage.
OpenIn sheetbashsame section
Check kubectl and server version
Show client and server version details.
List pods across all namespaces
Find failing pods anywhere in the cluster.