- Select the cluster clusters you want to delete
CREATE A PR TO DELETE CLUSTERSbutton
- Update the deletion PR values or leave the default values
- Merge the create PR for clusters deletion
To delete a cluster or clusters using cli run:
mccp clusters delete <cluster-name>
Merge the PR to delete the clusters.
A current limitation is the inability to apply an empty repository to a cluster. If you have capi clusters and other manifests commited to this repository, and then delete all of them so there are 0 manifests left, then the apply will fail and the resources will not be removed from the cluster. A workaround is to add a dummy ConfigMap back to the git repository after deleting everything else so that there is at least 1 manifest to apply.