Migrating a Node

Nodes in a node pool can be migrated to the default node pool. Nodes in the default node pool or a custom node pool cannot be migrated to other custom node pools.

  1. Log in to the CCE console and click the cluster name to access the cluster console.

  2. In the navigation pane, choose Nodes and click the Node Pools tab.

  3. Click View Node in the Operation column of the node pool to be migrated.

  4. Click More > Migrate in the Operation column of the target node to migrate the node.

  5. In the displayed Migrate Node dialog box, confirm the information.

    Note

    • The migration does not affect custom resource tags, Kubernetes labels, and taints of the node.

    • After the migration, system labels cce.cloud.com and cce-nodepool on the node will be deleted. If an existing workload uses these labels for affinity or anti-affinity scheduling, the existing pods on the node will be stopped and rescheduled when kubelet is restarted.