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=60sLearn 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
Sort events by time
Show oldest to newest event timestamps for a namespace.
Sort cluster-wide events by time
Helpful for cluster-wide incident triage.