File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
content/en/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ have some advantages for start-up related code:
71
71
a mechanism to block or delay app container startup until a set of preconditions are met. Once
72
72
preconditions are met, all of the app containers in a Pod can start in parallel.
73
73
* Init containers can securely run utilities or custom code that would otherwise make an app
74
- container image less secure. By keeping unnecessary tools separate you can limit the attack
75
- surface of your app container image.
74
+ container image less secure. By keeping unnecessary tools separate you can limit the attack
75
+ surface of your app container image.
76
76
77
77
78
78
### Examples
@@ -245,8 +245,11 @@ init containers. [What's next](#what-s-next) contains a link to a more detailed
245
245
246
246
## Detailed behavior
247
247
248
- During the startup of a Pod, each init container starts in order, after the
249
- network and volumes are initialized. Each container must exit successfully before
248
+ During Pod startup, the kubelet delays running init containers until the networking
249
+ and storage are ready. Then the kubelet runs the Pod's init containers in the order
250
+ they appear in the Pod's spec.
251
+
252
+ Each init container must exit successfully before
250
253
the next container starts. If a container fails to start due to the runtime or
251
254
exits with failure, it is retried according to the Pod ` restartPolicy ` . However,
252
255
if the Pod ` restartPolicy ` is set to Always, the init containers use
You can’t perform that action at this time.
0 commit comments