kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.5k stars 1.3k forks source link

Deprecate revision management in MachineDeployments #10479

Open sbueringer opened 5 months ago

sbueringer commented 5 months ago

As of today MachineDeployments manage a history of MachineSet objects.

This feature roughly consists of:

This feature (afaik) has been mostly copied from k/k Deployments & ReplicaSets

Reasons why we should consider deprecation:

So overall I think considering the current state of the feature, it's interoperability and that it's as far as we can tell not really used we should really consider if it's worth the complexity and otherwise consider deprecation.

If you are using the feature, please let us know.

k8s-ci-robot commented 5 months ago

This issue is currently awaiting triage.

CAPI contributors will take a look as soon as possible, apply one of the triage/* labels and provide further guidance.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
fabriziopandini commented 5 months ago

/priority backlog /kind cleanup

enxebre commented 4 months ago

As consumer I think beyond the clusterctl rollout exposure we could say revisionHistoryLimit is actually more of an implementation detail and the same functionality can be achieved by rolling out forward towards any config. As a provider/admin/SRE the only drawback I can think of is that we lose a mean to introspect history of a MachineDeployment for troubleshooting purposes. Overall I think deprecation probably adds more value (sustainability) than it takes.

fabriziopandini commented 4 months ago

+1 to deprecate an remove. There so many open questions and the interest around this feature is very low (+ we have very few clusterctl maintainers left)

chrischdi commented 3 months ago

Also xref PR which would get obsolete: