In the Container Service console, you can delete clusters that are no longer in use.

Procedure

  1. Log on to the Container Service console.
  2. Click Kubernetes > Clusters in the left-side navigation pane.
  3. ClickMore at the right of the cluster and then select > Delete.


What to do next

Failed to delete a cluster

If you manually add some resources under the resources created by Resource Orchestration Service (ROS), ROS does not have permissions to delete these manually added resources. For example, manually add a VSwitch under the Virtual Private Cloud (VPC) created by ROS. ROS fails to process this VPC when deleting the Kubernetes resources and then the cluster fails to be deleted.

Container Service allows you to force delete the cluster. You can force delete the cluster record and ROS stack if the cluster fails to be deleted. However, you must release the manually created resources manually.

The cluster status is Failed to delete if the cluster fails to be deleted.


ClickMore at the right of the cluster and then select > Delete.In the displayed dialog box, you can see the resources that failed to be deleted. Select the Force Delete check box and then click OK to delete the cluster and ROS stack.

Note
You must manually release the resources that failed to be deleted. To find these resources, see Failed to delete Kubernetes clusters: ROS stack cannot be deleted.