File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
content/en/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -530,18 +530,19 @@ An example flow:
530
530
531
531
If the ` preStop ` hook is still running after the grace period expires, the kubelet requests
532
532
a small, one-off grace period extension of 2 seconds.
533
-
534
- {{< note >}}
535
- If the ` preStop ` hook needs longer to complete than the default grace period allows,
536
- you must modify ` terminationGracePeriodSeconds ` to suit this.
537
- {{< /note >}}
533
+ {{% note %}}
534
+ If the ` preStop ` hook needs longer to complete than the default grace period allows,
535
+ you must modify ` terminationGracePeriodSeconds ` to suit this.
536
+ {{% /note %}}
538
537
539
538
1 . The kubelet triggers the container runtime to send a TERM signal to process 1 inside each
540
539
container.
541
- {{< note >}}
542
- The containers in the Pod receive the TERM signal at different times and in an arbitrary
543
- order. If the order of shutdowns matters, consider using a ` preStop ` hook to synchronize.
544
- {{< /note >}}
540
+
541
+ There is special ordering if the Pod has any
542
+ {{< glossary_tooltip text="sidecar containers" term_id="sidecar-container" >}} defined.
543
+ Otherwise, the containers in the Pod receive the TERM signal at different times and in
544
+ an arbitrary order. If the order of shutdowns matters, consider using a ` preStop ` hook
545
+ to synchronize (or switch to using sidecar containers).
545
546
546
547
1 . At the same time as the kubelet is starting graceful shutdown of the Pod, the control plane
547
548
evaluates whether to remove that shutting-down Pod from EndpointSlice (and Endpoints) objects,
You can’t perform that action at this time.
0 commit comments