* Clarification of init-container restart reasons #13022 * Clarification of init-container restart reasons #13022 * Clarification of init-container restart reasons #13022
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
dd1af119cd
commit
0fe73a1890
@@ -318,8 +318,9 @@ same as the scheduler.
|
|||||||
A Pod can restart, causing re-execution of Init Containers, for the following
|
A Pod can restart, causing re-execution of Init Containers, for the following
|
||||||
reasons:
|
reasons:
|
||||||
|
|
||||||
* A user updates the PodSpec causing the Init Container image to change.
|
* A user updates the PodSpec causing the Init Container image to change. Any
|
||||||
App Container image changes only restart the app Container.
|
changes to the Init Container image restarts the Pod. App Container image
|
||||||
|
changes only restart the app Container.
|
||||||
* The Pod infrastructure container is restarted. This is uncommon and would
|
* The Pod infrastructure container is restarted. This is uncommon and would
|
||||||
have to be done by someone with root access to nodes.
|
have to be done by someone with root access to nodes.
|
||||||
* All containers in a Pod are terminated while `restartPolicy` is set to Always,
|
* All containers in a Pod are terminated while `restartPolicy` is set to Always,
|
||||||
|
|||||||
Reference in New Issue
Block a user