Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Should az capi management delete delete the cluster? #133

Open
mboersma opened this issue Jun 3, 2022 · 1 comment
Open

Should az capi management delete delete the cluster? #133

mboersma opened this issue Jun 3, 2022 · 1 comment
Milestone

Comments

@mboersma
Copy link
Member

mboersma commented Jun 3, 2022

When testing we were surprised to realize that az capi management delete just removes CAPZ componentry from a management cluster, leaving the cluster intact. This makes semantic sense if "management" is taken to be "the CAPZ stuff," but the management commands explicitly refer to the cluster, so they disagree.

Following the principle of least surprise, we should consider changing this behavior to delete the cluster infrastructure instead. But if we did so, the command should check for the existence of managed clusters and offer the option of deleting those workload clusters first.

@DannyBrito
Copy link
Contributor

I believe it should delete the cluster and not just remove CAPZ components. Or if we keep this behavior be more explicit about it and update the help summary

@mboersma mboersma added this to the v0.0.6 milestone Jun 13, 2022
@mboersma mboersma modified the milestones: v0.0.6, v0.1.0, v0.2.0 Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants