Remove a management cluster

Remove a management cluster

This section describes how to remove a management cluster.

To remove a management cluster:

  1. Verify that you have successfully removed all managed clusters that run on top of the management cluster to be removed. For details, see the corresponding Delete a managed cluster section depending on your cloud provider in Create and operate a managed cluster.

  2. Log in to a local machine where your management cluster kubeconfig is located and where kubectl is installed.

    Note

    The management cluster kubeconfig is created during the last stage of the management cluster bootstrap.

  3. Run the following script:

    bootstrap.sh cleanup