-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support syncing a set of labels from MachineDeployment/MachineSet/Machine to Nodes #493
Comments
This would be nice, we had to write a little controller ourselves to get those applied. |
the list of labels, taints, and annotations need to be additive (not authoritative) |
Wondering what is the issue in extending existing machine controller in cluster-api to perform this task as well in the reconcile loop? |
/assign @hardikdr |
Related to #493 and #658. Also for reference kubernetes/kubernetes#73097 |
@hardikdr are you currently working on this? @sidharthsurana do you believe this is a hard requirement for v1alpha1, or could it slip to v1alpha2? |
@ncdc I don't this is a hard requirement from the cluster-api point of view for the v1alpha1 milestone. Given that individual provider implementations can implement these independently as well. I opened this Issue so that if we can figure out a provider agnostic way of implementing this behavior. |
/milestone Next |
@ncdc Yes I have started looking into it, I will soon be providing a proposal-doc for the same. |
#881 |
@hardikdr What is the progress of this? If you are not working, can I take this over? |
/area api |
The linked doc proposes full management of Labels, Annotations, and Taints for Machines. It might be better to initial target initial state (Labels and Taints are already supported in this manner if using kubeadm for bootstrapping). |
Hi team, awaiting to use this feature, Even we wanted to have this capability where we can bring up a cluster with predefined labels on the nodes with the label values are applied based on some internal computation / vm or cloud specific details. @Arvinderpal If needed i would like to contribute to it. Please let me know. Thank you |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/triage accepted |
@hardikdr was this merged into CAPI? |
/reopen given that the issue is only resolved after the implementation merges |
@sbueringer: Reopened this issue. 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 kubernetes/test-infra repository. |
What about linking the issues where we are tracking implementation work breakdown and closing this one, otherwise we are tracking this in two places |
I wasn't aware of the umbrella issue at that time :) Fine for me to close. Looks like the umbrella issue links directly to the PR instead of to this issue. But we can either just have it as a sub-task in the umbrella issue or create a new issue if we really need one. /close |
@sbueringer: Closing this issue. 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 kubernetes/test-infra repository. |
This issue is to add the capability of defining user defined labels, annotations & taints to be created automatically on the created nodes.
for e.g.: The following MachineSet when realized on any of the provider, should result in the 2 user defined labels
latency-sensitive: yes
andservice-class: gold
to be created on the nodes created as part of this machineset.The same mechanics should be extended for annotations as well as taints.
The text was updated successfully, but these errors were encountered: