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
kubeadm: move swap on check error to warning since NodeSwap is beta #104854
Conversation
The check may base on kubeletConfig.featureGates.NodeSwap and kubeletConfig.failSwapOn. /retest |
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.
kubeadm: switch the preflight check of swap to warning
proposing amend to the release note for more context:
ACTION REQUIRED: kubeadm: switch the preflight check that verifies if swap is enabled on Linux host (called 'Swap') to report a warning instead of an error. This is related to the graduation of the NodeSwap feature gate in the kubelet to Beta and being enabled by default in 1.23 - allowing swap support on Linux hosts. In the next release of kubeadm (1.24) the preflight check will be removed, thus we recommend that you stop using it - e.g. via --ignore-preflight-errors or the kubeadm config.
with that in mind, we should remove the mention about Swap here:
"A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.", |
/triage accepted |
looks like i made a typo in the RN:
|
|
there was also this part: |
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
e7f1699
to
d57bad5
Compare
will remove the action required here since our preflight errors code does not error on unknown error strings - e.g. "Swap" might be missing in the future. /release-note-edit
|
/hold cancel |
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.
Sgtm,
Hopefully there are no blockers for the beta.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, pacoxu 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 |
/kind bug
xref kubernetes/kubeadm#2563
/priority important-soon
/hold
util NodeSwap is promoted to beta.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: