Show oldest to newest event timestamps for a namespace.

Section: Events and Conditions

Sort events by time

bash
bash
kubectl get events -n <namespace> --sort-by=.metadata.creationTimestamp

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 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 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.