Skip to content

Commit 5a685dd

Browse files
authored
Merge pull request #24327 from seongpyoHong/modify-init-containers
Modify Understanding init containers section
2 parents 1addb85 + 481c023 commit 5a685dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/concepts/workloads/pods/init-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Init containers are exactly like regular containers, except:
2828
* Init containers always run to completion.
2929
* Each init container must complete successfully before the next one starts.
3030

31-
If a Pod's init container fails, Kubernetes repeatedly restarts the Pod until the init container
32-
succeeds. However, if the Pod has a `restartPolicy` of Never, Kubernetes does not restart the Pod.
31+
If a Pod's init container fails, the kubelet repeatedly restarts that init container until it succeeds.
32+
However, if the Pod has a `restartPolicy` of Never, and an init container fails during startup of that Pod, Kubernetes treats the overall Pod as failed.
3333

3434
To specify an init container for a Pod, add the `initContainers` field into
3535
the Pod specification, as an array of objects of type

0 commit comments

Comments
 (0)