-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Refactor node taint conditions #51266
Conversation
I would prefer @k82cn to review this. |
/assign @lavalamp |
/lgtm I think we need to update doc accordingly, both design doc and guidance. |
Right, I will try a global search and fix across the org. |
@luxas One concern is how we can avoid affecting existing user labels? |
I think we should consider backward compatibility. This change might break some user applications (or PaaS project based on Kubernetes). |
The affected users in my mind:
Some ideas in my mind:
cc @davidopp |
@resouer , I think we need to send an announcement to dev@ and user@ list. If the new name is right, it's a good time to correct it in alpha :). |
Are these currently in use? This seems very unlikely to be backwards compatible. |
@lavalamp In most cases they are internal used, but I think there can be some external use cases (though not best practice), see: #51266 (comment) The most common case will be |
kindly ping @lavalamp back to this thread 💯 |
ping for approve :). |
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.
Looks like a well-tested, backwards-compatible change to me.
Yay, let's get this into v1.9 ASAP |
@@ -404,6 +404,17 @@ func NewNodeController( | |||
}) | |||
} | |||
|
|||
// NOTE(resouer): nodeInformer to substitute deprecated taint key (notReady -> not-ready). |
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.
s/NOTE/TODO/
LGTM. Ping @liggitt for final lgtm. |
/lgtm needs |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gmarek, k82cn, liggitt, resouer Associated issue: 51246 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
Automatic merge from submit-queue. Use new taint key in design doc Part of: kubernetes/kubernetes#51246 ~~**DO NOT MERGE** until kubernetes/kubernetes#51266 is in!~~
What this PR does / why we need it:
We should use
not-ready
etc as node condition taint key.Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged):fixes #51246
Special notes for your reviewer:
Release note: