2.1 KiB

original_name

cce_10_0212.html

Deleting a Cluster

Scenario

This section describes how to delete a cluster.

Precautions

  • Deleting a cluster will delete the nodes in the cluster (excluding accepted nodes), data disks attached to the nodes, workloads, and Services. Related services cannot be restored. Before performing this operation, ensure that data has been backed up or migrated. Deleted data cannot be restored.

    Resources that are not created in CCE will not be deleted:

    • Accepted nodes (only the nodes created in CCE are deleted);
    • ELB load balancers associated with Services and ingresses (only the automatically created load balancers are deleted);
    • Manually created cloud storage resources associated with PVs or imported cloud storage resources (only the cloud storage resources automatically created by PVCs are deleted)
  • A hibernated cluster cannot be deleted. Wake up the cluster and try again.

  • If a cluster whose status is Unavailable is deleted, some storage resources of the cluster may need to be manually deleted.

Procedure

  1. Log in to the CCE console. In the navigation pane, choose Clusters.

  2. Click image1 next to the cluster to be deleted.

  3. In the displayed Delete Cluster dialog box, select the resources to be released.

    • Delete cloud storage resources attached to workloads in the cluster.

      Note

      Before you delete the PVCs and volumes, pay attention to the following rules:

      • The underlying storage resources are deleted according to the reclaim policy you defined.
      • If there are a large number of files (more than 1,000) in the OBS bucket, manually clear the files and then delete the cluster.
    • Delete networking resources, such as load balancers in a cluster. (Only automatically created load balancers can be deleted.)

  4. Click Yes to start deleting the cluster.

    The delete operation takes 1 to 3 minutes to complete.