Delete an ACK Lingjun cluster

更新时间:
复制 MD 格式

You can delete a cluster from the ACK console if you no longer need it, or if it becomes unavailable due to an operational error, such as deleting the API server's SLB instance.

Before you begin

  • Before you delete a cluster, you must manually delete all workloads, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, the deletion may fail. For more information about workloads, see Workloads.

  • The cluster contains Lingjun computing nodes, which cannot be unsubscribed from or released. After the cluster is deleted, these Lingjun computing nodes are retained by default.

Procedure

  1. Log on to the ACK console. In the left navigation pane, click Clusters.

  2. (Optional) On the Actions page, find the cluster that you want to manage. In the Actions column, choose More > Disable Deletion Protection and follow the on-screen instructions.

  3. On the Actions page, find the cluster that you want to delete. In the Actions column, choose More > Delete.

    Note

    In the Delete Cluster panel, review the resources that will be automatically deleted, such as ECS, ECI, and ACS. Select any resources that you want to retain, read the on-screen notes about resource deletion and billing, and then follow the prompts to complete the deletion.

FAQ

Cluster deletion failure

If you manually add resources to resources that are created by Resource Orchestration Service (ROS), ROS does not have permission to delete these manually added resources. For example, if you manually add a vSwitch to a VPC created by ROS, ROS cannot delete the VPC, which causes the deletion to fail.

ACK provides a force delete feature. If a cluster deletion fails, you can use this feature to forcibly delete the cluster record and its ROS resource stack. However, a force delete operation does not automatically release resources created by ROS or any resources that you added manually. You must release these resources manually.

  1. On the Clusters page, find the cluster that you want to delete. In the Actions column, choose More > Delete.

  2. In the dialog box, review the resources that failed to delete, and then click OK to delete the cluster and the ROS resource stack.

    Note

    If you select the Retain Resources checkbox, these resources are not automatically released. You must release them manually.

Related topics