Interview Prep/Kubernetes/Pod startup failures

Pod status is `ImagePullBackOff` and events show `Failed to pull image "registry.example.com/web:1.4.2": rpc error: code = NotFound desc = failed to pull and unpack image ... not found`.

BeginnerTroubleshootingPod startup failures
Answer

Likely causes → The tag does not exist (typo, CI never pushed it, tag pushed to a different repo or region), or the image was deleted by a registry lifecycle policy.

Diagnose →

kubectl describe pod web-6c9d-abcde | sed -n '/Events/,$p'
crane ls registry.example.com/web | grep 1.4.2
aws ecr describe-images --repository-name web --image-ids imageTag=1.4.2

Fix → Correct the tag in the manifest or push the missing image; the kubelet retries automatically, or delete the Pod to retry now.

Prevent → Deploy by immutable digest produced by the pipeline, and exclude deployed tags from registry cleanup rules.

All Kubernetes questions Roadmap: Kubernetes core

More on Pod startup failures