Clarification of init-container restart reasons #13022 (#14202)

* 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:
Supriya Sirbi
2019-05-08 15:08:35 +05:30
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
reasons:
* A user updates the PodSpec causing the Init Container image to change.
App Container image changes only restart the app Container.
* A user updates the PodSpec causing the Init Container image to change. Any
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
have to be done by someone with root access to nodes.
* All containers in a Pod are terminated while `restartPolicy` is set to Always,