-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
User Story
As a user I would like to specify labels and annotations for MachineDeployment
and KubeadmControlPlane
created by topology controller to be used used by cluster-autoscaler
or for filtering.
Detailed Description
It is possible to specify labels
and annotations
in cluster topology spec, but they are propagated only to machines
created by MachineDeployment
and KubeadmControlPlane
.
As documented in cluster-autoscaler
readme, in order to use it with Managed Topology, users had to skip spec.topology.workers.machineDeployments[].replicas
field, which cause topology controller to always create MachineDeployment
with only one replica. Users can later add specific cluster-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 to MachineDeployment
and KubeadmControlPlane
and also be able to update them without triggering rollout for corresponding Machines
/kind feature