JAEN

Kubernetes

kubectl describe

SafeDescribe resource/events

kubectl describe pod <pod> -n <ns>

Shows details and events for a resource; key for crash/start failures.

Examples

  • kubectl describe pod web-xyz -n prodDiagnose why a pod won't start

Syntax

kubectl describe <type> <name> -n <ns>

Before you run it

Read-only.

Used when you see

Service won't start / keeps crashing
4
If K8s, check eventsInspect events via describe
See the whole flow →
Pod stuck in CrashLoopBackOff
3
Inspect events and exit reasons (e.g. OOMKilled)
See the whole flow →
ImagePullBackOff
1
Get the exact pull error from describeTypos, registry auth and rate limits are the big three.
See the whole flow →
Node is NotReady
2
Check node Conditions in describeLook at MemoryPressure, DiskPressure, PIDPressure.
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