@@ -207,6 +207,15 @@ the restart during Pod termination.
207
207
List the specific goals of the KEP. What is it trying to achieve? How will we
208
208
know that this has succeeded?
209
209
-->
210
+ The following behaviors should be maintained during pod termination:
211
+ - sidecar containers restarting
212
+ - liveness, readiness and startup probing
213
+ - container lifecycle hooks running
214
+ - service account token rotation
215
+ - secret and configmap volume updates
216
+
217
+ Also, container termination should be non-blocking, which will fix issue [ #121398 ] ( https://github.com/kubernetes/kubernetes/issues/121398 )
218
+ a container cannot restart when there is any terminating container in the same pod.
210
219
211
220
### Non-Goals
212
221
@@ -471,7 +480,7 @@ in back-to-back releases.
471
480
#### Alpha
472
481
473
482
- Allow sidecar containers to restart during the shutdown of the Pod.
474
- - Enable ` livenessProbe ` and ` startupProbe ` during the shutdown of the Pod for sidecar containers that restart.
483
+ - Enable ` livenessProbe ` , ` readinessProbe ` and ` startupProbe ` during the shutdown of the Pod for sidecar containers that restart.
475
484
- Enable ` postStart ` and ` preStop ` hooks during the shutdown of the Pod for sidecar containers that restart.
476
485
477
486
#### Beta
@@ -559,7 +568,7 @@ well as the [existing list] of feature gates.
559
568
-->
560
569
561
570
- [X] Feature gate (also fill in values in ` kep.yaml ` )
562
- - Feature gate name: SidecarContainerRestartDuringTermination
571
+ - Feature gate name: RestartContainerDuringTermination
563
572
- Components depending on the feature gate:
564
573
- kubelet
565
574
- [ ] Other
0 commit comments