Kubernetes Debugging Cheat Sheet/List pod phase and reason

Compact custom columns view for triage.

Section: Events and Conditions

List pod phase and reason

bash
bash
kubectl get pods -n <namespace> -o custom-columns=NAME:.metadata.name,PHASE:.status.phase,REASON:.status.containerStatuses[0].state.waiting.reason

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
Wait for pod readiness
Use readiness conditions to gate troubleshooting steps or scripts.
OpenIn sheetbashsame section
List pods across all namespaces
Find failing pods anywhere in the cluster.
OpenIn sheetbash1 tag match
Read pod logs
Print logs from a single-container pod.
OpenIn sheetbash1 tag match