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