-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
1.22 feature blog for alpha swap support #29060
Conversation
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: 39e39c0 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/61115d08f39f0b000778b8c7 😎 Browse the preview: https://deploy-preview-29060--kubernetes-io-main-staging.netlify.app |
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.
Thanks for this article.
/hold
Publication date isn't yet decided.
All the feedback I've marked as “nits” is optional. The other stuff is more important to address.
Addressed comments, thanks @sftim ! |
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.
Just a few nits, otherwise LGTM
Once the publication date is set to something post-release (2021-08-18 is the one we've picked), it's OK to unhold this. |
Moved to 08/18, PTAL. |
There are kubeadm procedures in the docs (for install and upgrade) that explicitly say that swap must be disabled. Would it be appropriate for us to add notes describing this alpha feature in those places for people who want to turn on swap? |
Maybe, but this blog article doesn't have to be where we cover that. Instead, I'd imagine separate PRs that signpost readers from the kubeadm pages where swap is mentioned, to a new task page about “Deploy a Linux node with swap enabled” or similar. We would definitely want those pages before this graduates to beta. |
Please tag me for technical doc reviews for enabling this on kubeadm, I have not tested it and I am not sure if it's possible at this time. |
/hold cancel |
@kubernetes/sig-node-pr-reviews - how is this looking in terms of technical accuracy? |
/retest |
workloads. Cluster administrators and developers should benchmark their nodes | ||
and applications before using swap in production scenarios, and [we need your | ||
help](#how-do-i-get-involved) with that! | ||
|
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 looks great. It would be nice to add to 'Caveats' a blurb about IOPS throttling in cloud environments. This might be a common issue that is overlooked by some.
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.
Added a paragraph.
the kubelet should be able to be configured such that: | ||
|
||
- It can start with swap on. | ||
- It will direct the CRI to allocate Kubernetes workloads zero swap memory by |
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 sentence reads a little weird. Maybe:
It will direct the Container Runtime Interface to allocate zero swap memory to Kubernetes workloads by default.
or similar.
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.
Done.
This looks great! +1 to publish! |
/lgtm |
LGTM label has been added. Git tree hash: c541eab6b27c7e3c49ca3d9ebf80351e852c1305
|
@jlbutler do you want me to update the date again? |
@ehashman I can use my admin powers to push that commit, but feel free to do that yourself. |
(also, nice-to-have, update the date in the PR description too) |
/assign |
/lgtm |
LGTM label has been added. Git tree hash: 0c201ed77f92db97e408a45a11a817f589c41c85
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim 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 |
Thank you! |
Follow-up to #29016
Feature blog post for "Node Alpha swap support" (kubernetes/enhancements#2400).
This is part of the Kubernetes 1.22 release Feature blogs
Tentative publish date is
25th18th August 2021.Edit: fwiw I'm OOO the week of Aug. 23 so you might wanna hit publish before the 20th or after the 2nd :)