Skip to content

Commit 265a248

Browse files
committed
Review comments
Signed-off-by: Laura Lorenz <[email protected]>
1 parent 5d7e0f5 commit 265a248

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -265,16 +265,16 @@ explains the behaviour of `init containers` when specify `restartpolicy` field o
265265
{{< feature-state feature_state_name="KubeletCrashLoopBackOffMax" >}}
266266

267267
With the alpha feature gate `KubeletCrashLoopBackOffMax` enabled, you can
268-
reconfigure the maximum delay between container restarts from the default of
269-
300s (5 minutes). This configuration is set per node using kubelet
270-
configuration. In your [kubelet
271-
configuration](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/),
272-
set the `CrashLoopBackOff.MaxContainerRestartPeriod` field between `"1s"` and
273-
`"300s"`. Delays on that node will still start at 10s and increase exponentially
274-
by 2x each restart, until being capped at your configured maximum. If the
275-
`CrashLoopBackOff.MaxContainerRestartPeriod` you configure is less than the
276-
default initial value of 10s, the initial delay will instead be set to the
277-
configured maximum.
268+
reconfigure the maximum delay between container start retries from the default
269+
of 300s (5 minutes). This configuration is set per node using kubelet
270+
configuration. In your [kubelet configuration](/docs/tasks/administer-cluster/kubelet-config-file/),
271+
under `crashLoopBackOff` set the `maxContainerRestartPeriod` field between
272+
`"1s"` and `"300s"`. As described above in [Container restart
273+
policy](#restart-policy), delays on that node will still start at 10s and
274+
increase exponentially by 2x each restart, but will now be capped at your
275+
configured maximum. If the `maxContainerRestartPeriod` you configure is less
276+
than the default initial value of 10s, the initial delay will instead be set to
277+
the configured maximum.
278278

279279
See the following kubelet configuration examples:
280280

content/en/docs/reference/command-line-tools-reference/feature-gates/kubelet-crash-loop-back-off-max.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ stages:
1111
fromVersion: "1.32"
1212
---
1313
Enables support for configurable per-node backoff maximums for restarting
14-
containers (aka containers in CrashLoopBackOff)
14+
containers in the CrashLoopBackOff state.

0 commit comments

Comments
 (0)