You can delete clusters in the Container Service console.
- Log on to the Container Service console.
- In the left-side navigation pane, choose to go to the Clusters page.
- Select the cluster and click
in the Actions column.
- In the Delete Cluster dialog box, check the cluster information, select the I understand the above information and want to delete the specified cluster check box, and click OK.
A sample screenshot is provided below.
What to do next
Failed to delete the cluster
ROS has no permission to delete resources that were manually added under ROS-created resources. For example, if you manually add a VSwitch under a ROS-created VPC instance, ROS cannot delete the VPC instance and therefore the cluster cannot be deleted.
Container Service allows you to force delete clusters. This function enables you to force delete a cluster and ROS resource stack if your first attempt to delete the cluster fails. However, you still need to manually release the resources that were manually added in the first place.
- Select the cluster that you failed to delete and choose in the Actions column.
- In the dialog box that appears, you can view information about the resources that
were manually added. Click OK to delete the cluster and ROS resource stack.
Note In the Delete Cluster dialog box, if you select Retain Resources, resources that were manually added will be retained. You need to manually release these resources. For how to troubleshoot resources that cannot be released, see Failed to delete Kubernetes clusters: ROS stack cannot be deleted.