JAEN

Kubernetes

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
If K8s, check eventsImagePull/scheduling failures
See the whole flow →

Related commands

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