-
Notifications
You must be signed in to change notification settings - Fork 448
OCPNODE-3747: Disable Swap mode in Kubelet and enable drop-in directory #5294
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
OCPNODE-3747: Disable Swap mode in Kubelet and enable drop-in directory #5294
Conversation
Skipping CI for Draft Pull Request. |
/test all |
1 similar comment
/test all |
f8dc630
to
837dc40
Compare
/test unit |
/retest-required |
1 similar comment
/retest-required |
@ngopalak-redhat: This pull request references OCPNODE-3747 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/verified later @BhargaviGudi |
@ngopalak-redhat: This PR has been marked to be verified later by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@ngopalak-redhat: This pull request references OCPNODE-3747 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@haircommander Can you please review? |
@ngopalak-redhat: This pull request references OCPNODE-3747 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
the commit history is a bit wonky can you fix it up please? |
9100810
to
fc21115
Compare
@haircommander Fixed it. Thanks |
/retest-required |
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.
I cna't review the details, but just enabling the dir and rejecting it on the cluster API level looks correct.
🚀
#just-commenting-to-leave-an-emoji
/approve |
/retest-required |
/assign djoshy |
/verified later @BhargaviGudi |
@ngopalak-redhat: This PR has been marked to be verified later by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/lgtm Took a look and it looks sane to me. Will defer to node team's expertise for the swap mode details. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, haircommander, ngopalak-redhat 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 |
/test unit seems like a flake |
@ngopalak-redhat: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/test e2e-gcp-op-1of2 |
c6faace
into
openshift:main
Fixes: https://issues.redhat.com/browse/OCPNODE-3747
Context:
With the release of 1.34 version of Kubernetes swap feature in Kubelet is GAed. This means that, customer can set FailSwapOn to false and SwapBehavior to LimitedSwap. OpenShift 4.21 is currently planned to adopt 1.34 version of Kubernetes. Hence users of OpenShift 4.21 and above are impacted by this upstream release of swap feature.
- What I did
- How to verify it
While this was tested the following PR was also required: openshift/api#2494 (Merged already)
The cluster bot command was:
Checked the output of configz
Note to reviewer
Unit tests are included. The end-to-end (E2E) tests will be added to the origin repository, as defined by the work items in the Epic: OCPNODE-3646.
I've chosen the origin repository to ensure maintain consistency with other node features (ex: image volume).
- Description for the changelog
Disables openshift users to use swap mode on the Kubelet