I found in my pod that if a container fails or is killed due to failing liveness probe, the container is restarted, but the pod is not.
This means that initContainers
are not run again in a case of a crashed container.
In my case, I do need to run one of the initContainers
every time the main container fails.
Is this possible? Am I missing something?