Skip to content

Commit

Permalink
sidecar: Clarify all sidecars start in parallel
Browse files Browse the repository at this point in the history
As requested by Sergey:
	kubernetes#1913 (comment)

Signed-off-by: Rodrigo Campos <[email protected]>
  • Loading branch information
rata committed Sep 10, 2020
1 parent ebd059c commit c8469da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keps/sig-node/0753-sidecarcontainers.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,13 @@ Sidecars will be started before normal containers but after init, so that they a
This will change the Pod startup to look like this:
* Init containers start
* Init containers finish
* Sidecars start
* Sidecars start (all in parallel)
* Sidecars become ready
* Containers start
* Non-sidecar containers start (all in parallel)

During pod termination sidecars will be terminated last:
* Containers sent SIGTERM
* Once all Containers have exited: Sidecars sent SIGTERM
* Non-sidecar containers sent SIGTERM
* Once all non-sidecar containers have exited: Sidecar container are sent a SIGTERM

Containers and Sidecar will share the TerminationGracePeriod. If Containers don't exit before the end of the TerminationGracePeriod then they will be sent a SIGKIll as normal, Sidecars will then be sent a SIGTERM with a short grace period of 2 Seconds to give them a chance to cleanly exit.

Expand Down

0 comments on commit c8469da

Please sign in to comment.