Delete a managed cluster

Deleting a managed cluster does not require a preliminary deletion of VMs that run on this cluster.

To delete an OpenStack-based managed cluster:

  1. Log in to the Mirantis Container Cloud web UI with the writer permissions.

  2. Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.

  3. In the Clusters tab, click the More action icon in the last column of the required cluster and select Delete.

  4. Verify the list of machines to be removed. Confirm the deletion.

    Deleting a cluster automatically frees up the resources allocated for this cluster, for example, instances, load balancers, networks, floating IPs.

  5. If the cluster deletion hangs and the The cluster is being deleted message does not disappear for a while:

    1. Expand the menu of the tab with your username.

    2. Click Download kubeconfig to download kubeconfig of your management cluster.

    3. Log in to any local machine with kubectl installed.

    4. Copy the downloaded kubeconfig to this machine.

    5. Run the following command:

      kubectl --kubeconfig <KUBECONFIG_PATH> edit -n <PROJECT_NAME> cluster <MANAGED_CLUSTER_NAME>
    6. Edit the opened kubeconfig by removing the following lines:

  6. If you are going to remove the associated regional cluster or if you do not plan to reuse the credentials of the deleted cluster, delete them:

    1. In the Credentials tab, verify that the required credentials are not in the In Use status.

    2. Click the Delete credential action icon next to the name of the credentials to be deleted.

    3. Confirm the deletion.


    You can delete credentials only after deleting the managed cluster they relate to.