Updated on 2024-07-05 GMT+08:00

Deleting a Cluster

Precautions

  • Deleting a cluster will delete the workloads and Services in the cluster, and the deleted data cannot be recovered. Before performing this operation, ensure that data has been backed up or migrated. Deleted data cannot be restored.
    The following resources will not be deleted:
    • ELB load balancers associated with Services and ingresses (Only the automatically created load balancers will be deleted.)
    • Resources created in the VPC, such as VPC endpoints, NAT gateways, and EIPs specified in SNAT rules
  • If you delete a cluster that is not in the Running state (for example, Frozen or Unavailable), associated resources, such as storage and networking resources, will remain.

Deleting a Cluster

  1. Log in to the CCE console. In the navigation pane on the left, choose Clusters.
  2. Locate the cluster to be deleted, click ... to view more operations on the cluster, and choose Delete.
  3. In the displayed Delete Cluster dialog box, select the resources to be released.

    • Delete network resources such as load balancers in a cluster. (Only automatically created load balancers will be deleted).
    • By default, the resources (such as VPC endpoints, NAT gateways, and EIPs specified in the SNAT rules) created in the VPC of the cluster are retained. Ensure that the resources are not reused by other clusters or Services and delete them on the network console.

  4. Click Yes to start deleting the cluster.

    The delete operation takes 1 to 3 minutes to complete.