Topology controller should avoid template rotation in case of changes to template metadata only #5413
Labels
area/clusterclass
Issues or PRs related to clusterclass
kind/feature
Categorizes issue or PR as related to a new feature.
Milestone
User Story
As a developer/user/operator I would like to avoid unnecessary machine rollout when using ClusterClass
Detailed Description
As of today the Topology controller automatically triggers a template rotation whenever there is a changes in templates, and this triggers a machine rollout.
This issue is about discussing the option to not trigger template rotation when the changes in template affects only template metadata. In this case, the Topology controller could patch templates in place
Please note that managed topologies are more sensible to this problem due to the cloned from annotations we are adding to each template. By implementing this change, we are reducing the occurrence of machine rollouts to only when it is really necessary (changes to template spec), thus allowing less invasive changes to clusterclass, rebase or eventually in future also transitioning clusters from unmanaged to managed.
Anything else you would like to add:
This is possible under the aussumption that top level metadata from infrastructure/bootstrap templates are not propagated to machines, which is something being discussed in #5397
@sbueringer to confirm
/kind feature
/area topology
The text was updated successfully, but these errors were encountered: