Help Center/ Cloud Container Engine/ User Guide (Paris Regions)/ FAQs/ Cluster/ Cluster Deletion/ How Do I Clear Residual Resources After a Non-Running Cluster Is Deleted?
Updated on 2023-12-07 GMT+08:00

How Do I Clear Residual Resources After a Non-Running Cluster Is Deleted?

If a cluster is not in the running state (for example, frozen or unavailable), resources such as PVCs, Services, and ingresses in the cluster cannot be obtained. After the cluster is deleted, residual network and storage resources may exist. In this case, manually delete these resources on their respective service console.

Deleting Residual ELB Resources

  1. Log in to the ELB console.
  2. Search for load balancers in the VPC by VPC ID.
  3. View the listener details of the load balancer. If the description contains the cluster ID and Service ID, the listener is created in the cluster.
  4. Delete residual load balancer-related resources from the cluster based on the preceding information.

Deleting Residual EVS Resources

An EVS disk dynamically created using a PVC is named in the format of "pvc-{uid}". The metadata field in the API contains the cluster ID. You can use this cluster ID to obtain these EVS disks in the cluster and delete them as required.

  1. Go to the EVS console.
  2. Obtain EVS disks by name ("pvc-{uid}") to obtain all automatically created EVS disks in the CCE clusters.
  3. Press F12 to open the developer tools. Check whether the metadata field in the detail interface contains the cluster ID. If yes, the EVS disk is automatically created in this cluster.
  4. Delete the residual EVS resources from the cluster based on the preceding information.

    Deleted data cannot be restored. Exercise caution when performing this operation.

Deleting Residual SFS Resources

The name format of SFS systems dynamically created using a PVC is "pvc-{uid}". The metadata field in the API contains the cluster ID. You can use this cluster ID to obtain these SFS systems automatically created in the cluster, and delete them as required.

  1. Log in to the SFS console.
  2. Search for SFS systems by name ("pvc-{uid}") to obtain all automatically created SFS systems in CCE clusters.
  3. Press F12 to open the developer tools. Check whether the metadata field in the detail interface contains the cluster ID. If yes, the SFS system is automatically created in the cluster.
  4. Delete the residual SFS resources in the cluster based on the preceding information.

    Deleted data cannot be restored. Exercise caution when performing this operation.