Skip to content

Commit 6fd7cae

Browse files
author
Tim Bannister
committed
Reword to fix formatting of note shortcode
1 parent 4c7acca commit 6fd7cae

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -530,18 +530,19 @@ An example flow:
530530

531531
If the `preStop` hook is still running after the grace period expires, the kubelet requests
532532
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 %}}
538537

539538
1. The kubelet triggers the container runtime to send a TERM signal to process 1 inside each
540539
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).
545546

546547
1. At the same time as the kubelet is starting graceful shutdown of the Pod, the control plane
547548
evaluates whether to remove that shutting-down Pod from EndpointSlice (and Endpoints) objects,

0 commit comments

Comments
 (0)