File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/en/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -313,16 +313,16 @@ limit, the same as the scheduler.
313
313
A Pod can restart, causing re-execution of init containers, for the following
314
314
reasons :
315
315
316
- * A user updates the Pod specification, causing the init container image to change.
317
- Any changes to the init container image restarts the Pod. App container image
318
- changes only restart the app container.
319
316
* The Pod infrastructure container is restarted. This is uncommon and would
320
317
have to be done by someone with root access to nodes.
321
318
* All containers in a Pod are terminated while `restartPolicy` is set to Always,
322
319
forcing a restart, and the init container completion record has been lost due
323
320
to garbage collection.
324
321
325
-
322
+ The Pod will not be restarted when the init container image is changed, or the
323
+ init container completion record has been lost due to garbage collection. This
324
+ applies for Kubernetes v1.20 and later. If you are using an earlier version of
325
+ Kubernetes, consult the documentation for the version you are using.
326
326
327
327
# # {{% heading "whatsnext" %}}
328
328
You can’t perform that action at this time.
0 commit comments