Cluster deletion freezes

If you delete MOSK cluster nodes not using the MOSK management console or API, the cluster deletion may hang with the Deleting message remaining in the cluster status.

To apply the issue resolution:

  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 <mgmtClusterKubeconfigPath> edit -n <projectName> cluster <MOSKClusterName>
    
  6. Edit the opened kubeconfig by removing the following lines:

    finalizers:
    - cluster.cluster.k8s.io
    
  7. Manually clean up the resources of the nodes that you have previously deleted not using the MOSK management console.