Pod is stuck in `ContainerCreating` and events say `MountVolume.SetUp failed for volume "app-config" : configmap "app-config" not found`.
BeginnerTroubleshootingPod startup failures
Answer
Likely causes → A ConfigMap or Secret mounted as a volume does not exist in the namespace. Unlike env references (which give CreateContainerConfigError), volume references block in ContainerCreating.
Diagnose →
kubectl describe pod web-x | grep -A3 FailedMount
kubectl get cm -n web
Fix → Create the ConfigMap, or fix the name. If the volume is optional, set configMap.optional: true. Kustomize configMapGenerator adds a hash suffix, so a hard-coded name in a non-Kustomize manifest will not match.
Prevent → Ship ConfigMaps in the same release/sync as the Deployment so they are applied together.
More on Pod startup failures
A Pod shows `CrashLoopBackOff` with `RESTARTS 7` and events say `Back-off restarting failed container app`. Where do you start?Beginner`kubectl logs web-0 --previous` returns nothing useful and the container dies in under a second. How do you get inside it?IntermediatePod 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`.BeginnerEvents show `pull access denied for registry.example.com/web, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed`.BeginnerPulls from Docker Hub randomly fail with `toomanyrequests: You have reached your pull rate limit`.IntermediateA private registry with an internal CA fails with `x509: certificate signed by unknown authority` during image pull.Intermediate