Skip to content

vcluster delete --all Command #363

Open
@danielhelfand

Description

@danielhelfand

When using the vcluster CLI, it would be nice to support an option to delete all virtual clusters on the host cluster. Something like vcluster delete --all would be helpful in really quickly cleaning up clusters without having to remember specific cluster names/specify all clusters.

Something to consider would be the best way to fetch all the namespaces where virtual clusters are deployed to in order to pass on to helm. Also, the --delete-namespace option would need a way to have all the relevant namespaces passed to it.

The other things to consider would be failure scenarios. Should the command continue if an error is encountered deleting a particular virtual cluster?

Not sure if there would be additional considerations for nested virtual clusters.

Looking forward to thoughts on this!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions