Skip to content

Commit 58590b7

Browse files
committed
sidecar: Mention it solves jobs with sidecars
This was suggested by Sergey here: kubernetes#1913 (comment) Sadly, that branch is merged and can't click on commit suggestion now. Credits goes to Sergey anyways :-) Signed-off-by: Rodrigo Campos <[email protected]>
1 parent 2a17744 commit 58590b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

keps/sig-node/0753-sidecarcontainers.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ to add a `lifecycle.type` field to the `container` object in the `pod.spec` to
144144
define if a container is a sidecar container. The only valid value for now is
145145
`sidecar`, but other values can be added in the future if needed.
146146

147-
Pods with sidecar containers only change the behaviour of the startup and
148-
shutdown sequence of a pod: sidecar containers are started before non-sidecars
149-
and stopped after non-sidecars.
147+
Pods with sidecar containers change the behaviour of the startup and shutdown
148+
sequence of a pod: sidecar containers are started before non-sidecars and
149+
stopped after non-sidecars. Sidecar containers are also terminated when all
150+
non-sidecar containers finished.
150151

151152
A pod that has sidecar containers guarantees that non-sidecar containers are
152153
started only after all sidecar containers are started and are in a ready state.

0 commit comments

Comments
 (0)