kubectl get events
SafeCluster events
kubectl get events -n <ns> --sort-by=.lastTimestamp
Shows scheduling/image-pull and other events in time order.
Examples
kubectl get events -n prod --sort-by=.lastTimestampEvents, newest last
Syntax
kubectl get events -n <ns> --sort-by=.lastTimestamp
Before you run it
Read-only.
Used when you see
Container won't start / crashes
4
See the whole flow →If K8s, check eventsImagePull/scheduling failures
Related commands
- kubectl describeDescribe resource/events
- kubectl logsPod logs
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store