-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Clean up self-set node labels #79305
Clean up self-set node labels #79305
Conversation
Welcome @paivagustavo! |
Hi @paivagustavo. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
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
/ok-to-test
/priority backlog
/assign @liggitt
also need change at here: kubernetes/cmd/kubelet/app/options/options.go Lines 250 to 252 in bc8ea43
|
Hey @gaorong I've added the changes that you pointed out. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, paivagustavo 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 |
With this change, I see that node-role.kubernetes.io is not allowed. Is there an alternate label available to set the node role via --node-lables? |
I second @rnsv qeustion? What is the best practice to setup node-role |
Created a new issue #85073 . This seems like an easy fix if we add kubernetes.io/role in kubernetes/pkg/kubelet/apis/well_known_labels.go Lines 39 to 52 in 939e1e6
Any thoughts? |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Finishes the clean up self-set kubelet labels under k8s.io prefixes:
This is related to https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/0000-20170814-bounding-self-labeling-kubelets.md#implementation-timeline
And is the follow up from #74424
Which issue(s) this PR fixes:
Fixes #75050
Special notes for your reviewer:
Does this PR introduce a user-facing change?: