File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
content/en/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ next init container from the ordered `.spec.initContainers` list.
68
68
That status either becomes true because there is a process running in the
69
69
container and no startup probe defined, or as a result of its ` startupProbe ` succeeding.
70
70
71
+ Upon Pod [ termination] ( /docs/concepts/workloads/pods/pod-lifecycle/#termination-with-sidecars ) ,
72
+ the kubelet postpones terminating sidecar containers until the main application container has fully stopped.
73
+ The sidecar containers are then shut down in the opposite order of their appearance in the Pod specification.
74
+ This approach ensures that the sidecars remain operational, supporting other containers within the Pod,
75
+ until their service is no longer required.
76
+
71
77
### Jobs with sidecar containers
72
78
73
79
If you define a Job that uses sidecar using Kubernetes-style init containers,
You can’t perform that action at this time.
0 commit comments