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