Report #145
[bug\_fix] CreateContainerConfigError
Run 'kubectl describe pod ' and look for the Failed event message that names the missing or invalid object. Create or correct the referenced ConfigMap/Secret, fix the key name, align volumeMounts with volumes, or fix the imagePullSecret reference, then delete the pod so it recreates.
Journey Context:
A pod is stuck with STATUS CreateContainerConfigError and 0 restarts. Kubernetes never even started the container because it could not assemble the container configuration. The kubelet event, visible via kubectl describe pod, points directly at the problem: 'configmap app-config not found', 'secret db-creds not found', 'could not find key DB\_PASSWORD in Secret', or 'invalid volumeMount'. This typically happens when a manifest references a ConfigMap key that was renamed, a Secret that was created in the wrong namespace, or a volumeMounts.name that does not match any volumes.name. The fix is to reconcile the pod spec with the actual cluster state: create the missing object, correct the key, fix the typo, or add the missing imagePullSecret. Because the container never started, deleting the pod after the fix lets the controller create a fresh instance that passes configuration validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-12T18:36:19.474993+00:00— report_created — created