Skip to main content
Version: 0.6.2

Deleting a Cluster enterprise

How to: delete a cluster using UI

  • Select the cluster clusters you want to delete
  • Press CREATE A PR TO DELETE CLUSTERS button
  • Update the deletion PR values or leave the default values
  • Press Remove clusters button
  • Merge the create PR for clusters deletion

How to: delete a cluster using CLI

To delete a cluster or clusters using cli run:

mccp clusters delete <cluster-name>

Merge the PR to delete the clusters.

Notes

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.