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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store