-
Notifications
You must be signed in to change notification settings - Fork 15k
Blog for container restart policy #51745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blog for container restart policy #51745
Conversation
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
/sig release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the PR to merge into kubernetes:main (not kubernetes:dev.1-34)
content/en/blog/_posts/2025-07-30-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-07-30-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-07-30-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
81347ff
to
2ebe15a
Compare
2ebe15a
to
cb11e1e
Compare
@yuanwang04 I see come unrelated commits in the diff, can you remove them and leave the blog content only? |
cb11e1e
to
16780f9
Compare
Done. Sorry didn't notice there was a messy rebase from dev-1.34 to main. It's cleaned up now. |
/remove-language ja pt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed for general proofreading/formatting, looks great! Added a few suggestions for switching headings to sentence case to align with the style guide :)
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
16780f9
to
899e0db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch out for "we"; it can confuse, and we like to be clear.
|
||
### Example 1: Restarting on specific exit codes | ||
|
||
In this example, we want to restart the container if and only if it fails with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid "we" when an article only has 1 author. Can you reword for clarity?
|
||
## We want your feedback! | ||
|
||
This is an alpha feature, and we'd love to hear your feedback. Please try it out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an alpha feature, and we'd love to hear your feedback. Please try it out | |
This is an alpha feature, and the Kubernetes project would love to hear your feedback. | |
Please try it out |
899e0db
to
041e363
Compare
content/en/blog/_posts/2025-0X-XX-Per-Container-Restart-Policy.md
Outdated
Show resolved
Hide resolved
The article must be draft until the Kubernetes v1.34 release has happened, and also must stay draft until it has a (future) publication date set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 71a7670abe87d131eb7b124a513706bb53603046
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lmktfy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Add a blog post about the new alpha feature ContainerRestartRules in 1.34. The blog post explains how it works and provides some useful examples and set up.
Issue
Related KEP: kubernetes/enhancements#5307