-
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
Labels and annotations for MachineDeployments and KubeadmControlPlane created by topology controller #7006
Comments
/area topology |
Is there any other use cases we can think of for labels/annotations? e.g Syncing from class to Nodes. |
Syncing from classes to a node can happen for free if we use existing metadata fields, otherwise, if we add a new field for node labels it should be surfaced in CC as well |
/triage accepted As discussed in the Aug 5th issue triage meeting we should evaluate options:
|
One side effect would be that any update of labels\annotations (e.g. for autoscaler) will cause Machine rollout |
Related discussion about node annotations not propagating via Machine update: #6255 |
Also related: #5880 |
After the discussion during Cluster API meeting it was proposed to separate this into two different issues:
|
Just to provide an update. We included this in this proposal: #7331 |
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 |
@sbueringer @ykakarap should this issue be closed due to #7917 being merged? |
I think yes. |
That's not solved yet, but we have another issue for it (#7731) |
/close |
@fabriziopandini: 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. |
User Story
As a user I would like to specify labels and annotations for
MachineDeployment
andKubeadmControlPlane
created by topology controller to be used used bycluster-autoscaler
or for filtering.Detailed Description
It is possible to specify
labels
andannotations
in cluster topology spec, but they are propagated only tomachines
created byMachineDeployment
andKubeadmControlPlane
.As documented in
cluster-autoscaler
readme, in order to use it with Managed Topology, users had to skipspec.topology.workers.machineDeployments[].replicas
field, which cause topology controller to always createMachineDeployment
with only one replica. Users can later add specificcluster-autoscaler
annotations in order to increase number of replicas.And as this annotations cannot be added to
MachineDeployment
during provisioning, it is impossible to create them with any other number of replicas other then one.It will be nice to have a way to pass labels and annotation from
Cluster
topology spec toMachineDeployment
andKubeadmControlPlane
and also be able to update them without triggering rollout for correspondingMachines
/kind feature
The text was updated successfully, but these errors were encountered: