Deleting a Node
Scenario
When a node in a CCE cluster is deleted, services running on the node will also be deleted. Exercise caution when performing this operation.
Notes and Constraints
- After a CCE cluster is deleted, the ECS nodes in the cluster are also deleted.
- If ECS nodes are billed on a yearly/monthly basis, they cannot be directly deleted. You can choose Billing Center > My Orders to unsubscribe from the nodes.
For clusters of v1.17.11 or later, after a VM is unsubscribed from or deleted on the ECS console, the corresponding node in the CCE cluster is automatically deleted.
Notes
- Deleting a node will lead to pod migration, which may affect services. Perform this operation during off-peak hours.
- Unexpected risks may occur during the operation. Back up related data in advance.
- During the operation, the backend will set the node to the unschedulable state.
- Only worker nodes can be deleted.
Procedure
- Log in to the CCE console. In the navigation pane, choose Resource Management > Nodes. In the same row as the node you will delete, choose More > Delete.
Figure 1 Deleting a node
- In the Delete Node dialog box, enter DELETE and click Yes.
Figure 2 Confirming the deletion
- After the node is deleted, pods on it are automatically migrated to other available nodes.
- If the disks and EIPs bound to the node are important resources, unbind them first. Otherwise, they will be deleted with the node.
- ECSs are released during node deletion only if they are billed in pay-per-use mode.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.