Scenario
After a node in the cluster is stopped, services on the node are also stopped. Before stopping a node, ensure that discontinuity of the services on the node will not result in adverse impacts.
Notes and Constraints
- Deleting a node will lead to pod migration, which may affect services. Therefore, delete nodes during off-peak hours.
- Unexpected risks may occur during node deletion. Back up related data in advance.
- While the node is being deleted, the backend will set the node to the unschedulable state.
- Only worker nodes can be stopped.
Procedure
- Log in to the CCE console and click the cluster name to access the cluster.
- In the navigation pane, choose Nodes. In the right pane, click the name of the node to be stopped.
- In the upper right corner of the ECS details page, click Stop in the instance status area. In the displayed dialog box, click Yes.
Figure 1 ECS details page