Skip to content

Conversation

@lauralorenz
Copy link
Contributor

Description

Docs changes for alpha feature ReduceDefaultCrashLoopBackOffDecay to CrashLoopBackoff behavior per KEP-4603

Issue

kubernetes/enhancements: kubernetes/enhancements#4603

kubernetes/kubernetes PRs:

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 11, 2025
@netlify
Copy link

netlify bot commented Mar 11, 2025

👷 Deploy Preview for kubernetes-io-vnext-staging processing.

Name Link
🔨 Latest commit a9286d5
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/67f559319e52d50008e72d77

@netlify
Copy link

netlify bot commented Mar 11, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit a9286d5
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/67f559316c6eb200089af51d
😎 Deploy Preview https://deploy-preview-50065--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lauralorenz lauralorenz force-pushed the ReduceDefaultCrashLoopBackoffDecay-docs branch from 13a2570 to b1bbfca Compare April 8, 2025 02:41
@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 8, 2025
@lauralorenz lauralorenz force-pushed the ReduceDefaultCrashLoopBackoffDecay-docs branch 4 times, most recently from 8b98958 to 1799a45 Compare April 8, 2025 02:47
delays on that node will still start at 10s and increase exponentially by 2x
each restart, but will now be capped at your configured maximum. If the
`maxContainerRestartPeriod` you configure is less than the default initial value
of 10s, the initial delay will instead be set to the configured maximum.
Copy link
Contributor Author

@lauralorenz lauralorenz Apr 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up leaving this the same as before -- I thought about making it more generic sounding ("default initial value for your cluster" instead of "default initial value of 10s") but I thought for most people they will want to come to these docs and see the effect in concrete terms not assuming they are using another alpha gate, and only people who opt to use BOTH alpha gates should have to reason about if they have a different default or not.

@lauralorenz lauralorenz marked this pull request as ready for review April 8, 2025 02:50
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 8, 2025
@lauralorenz lauralorenz force-pushed the ReduceDefaultCrashLoopBackoffDecay-docs branch from 1799a45 to a9286d5 Compare April 8, 2025 17:13
{{< feature-state
feature_gate_name="ReduceDefaultCrashLoopBackOffDecay" >}}

With the alpha feature gate `ReduceDefaultCrashLoopBackOffDecay` enabled,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we'd like this to be a default, right? I would suggest to put a note in the paragraph above that the numbers listed are only applicable when the feature gate is disabled. It may be too early for alpha, but when it goes to beta we will for sure switch numbers in paragraph above and change this section to "Old restart delay numbers".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this it too early to do that now because I don't want to clutter up the "normal" docs with stuff that is for alpha people only right now. But yes I will hoist it up more strongly at beta.

Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

with the small suggestion

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 8, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: 5757206b7e7cce0af5d7b922582bf09e1d52906b

@lauralorenz
Copy link
Contributor Author

For convenience, here is the direct link to the netlify deploy of the changed section: https://deploy-preview-50065--kubernetes-io-vnext-staging.netlify.app/docs/concepts/workloads/pods/pod-lifecycle/#reduced-container-restart-delay

Copy link
Member

@dipesh-rawat dipesh-rawat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dipesh-rawat, SergeyKanzhelev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 8, 2025
@k8s-ci-robot k8s-ci-robot merged commit 7829637 into kubernetes:dev-1.33 Apr 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants