Kubernetes Pod Debugging Cheat Sheet/Describe init container failure

Read events and termination details from the pod description.

Section: Init Container Debugging

Describe init container failure

bash
bash
kubectl describe pod <pod> -n <namespace>

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Init Container Debugging
Inspect init container statuses
See waiting, terminated, and exit details for init containers.
OpenIn sheetbashsame section
Read logs from an init container
Inspect the failing setup step before app containers start.
OpenIn sheetbashsame section
Copy a pod and override its command
Use kubectl debug to clone a pod with a safer command for inspection.
OpenIn sheetbashsame section
See probe failure events
Describe a pod and inspect event messages for failing probes.
OpenIn sheetbash1 tag match
Describe image pull failures
Inspect ErrImagePull and ImagePullBackOff reasons.
OpenIn sheetbash1 tag match
List Pending pods
Find pods stuck before startup.