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
See the whole flow →If K8s, check eventsInspect events via describe
ImagePullBackOff
1
See the whole flow →Get the exact pull error from describeTypos, registry auth and rate limits are the big three.
Node is NotReady
2
See the whole flow →Check node Conditions in describeLook at MemoryPressure, DiskPressure, PIDPressure.
Related commands
- kubectl get podsList pods
- 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