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.48k stars 1.29k forks source link

Deprecate & remove "clusterctl alpha topology plan" #10138

Open sbueringer opened 6 months ago

sbueringer commented 6 months ago

We recently closed a few issues - which would have been necessary to get "clusterctl alpha topology plan" into a good state - because there was no interest to implement them:

After a discussion in the Cluster API office hours from 24h January we decided to remove the command.

This issue tracks the removal of the command.

For folks using the command to dryrun the clusterctl topology reconciliation the best known alternative is to setup a management cluster via kind and then run the reconciliation in that cluster (ideally in some way that no actual infrastructure is created, e.g. by using invalid credentials).

While this is more effort, it allows folks to use Runtime Extensions and also solves the other issues in #7245 and #7246.

sbueringer commented 6 months ago

/triage accepted

fabriziopandini commented 6 months ago

Deprecation done. We can figure out removal or alternative paths, like e.g. descoping the command to generate desired state only; also we can move the execution of this command into a controller (eg. using a new crd) so we can use runtime extensions

fabriziopandini commented 4 months ago

/priority important-longterm

fabriziopandini commented 3 months ago

/remove priority-important-longterm /priority backlog

We are going to remove this in 1.9 Eventually, an alternative command for computing desired state only could be added with a different name, but this is outside of the scope of this ticket