An init container creates generated config successfully and the app still starts without it.
Init container completes but the app still crashes because it wrote config into a path the main container never mounts
Bootstrap looks successful, yet the runtime container fails because the prepared data lives on a volume path the application container does not actually see.
Scenario
What to check first
- Identify the primary failure signal in the Shared Volume Assumption scenario.
- Separate visible symptoms from the underlying technical dependency.
- Describe the safest recovery path and the follow-up prevention work.
Checking checklist
- Summarize the current impact and the last known change.
- Collect direct evidence from logs, runtime state, and configuration before changing anything.
- Separate immediate recovery from permanent prevention work.
Recovery and prevention
Validate the exact shared volume path between init and main container before changing the image.
Questions worth viewing together
Community-field Kubernetes startup problem inspired by Stack Overflow patterns where init containers wrote config to paths the app container did not mount. A completed init step proves only that it wrote somewhere, not that the app sees the same path.
Teams often blame the main app parsing logic when the file was never on the shared mount.
Init-container success is meaningless if the volume contract with the main container is wrong.
Similar cases seen in the field