Help Center> Cloud Container Engine> FAQs> Node> Specification Change> Can I Change the IP Address of a Node in a CCE Cluster?
Updated on 2023-10-27 GMT+08:00

Can I Change the IP Address of a Node in a CCE Cluster?

  • A private IP address cannot be changed. CCE clusters use the private IP address of a node as the Kubernetes node name, which cannot be changed. Changing the name will make the node unavailable.
  • The public IP address of a node can be changed on the ECS console.

How Do I Restore a Node After Its Private IP Is Changed?

After the private IP of a node is changed, the node becomes unavailable. You need to change it back to the original IP address.

  1. On the CCE console, view the node details and find the IP address and subnet of the node.

    Figure 1 Private IP address and subnet of the node

  2. Log in to the ECS console, locate and stop the node, go to the node details page, and change the private IP address on the Network Interfaces tab page. Note that you need to select the corresponding subnet.

    Figure 2 Changing the private IP address
    Figure 3 Changing the private IP address

  3. After the modification is complete, restart the node.

Specification Change FAQs

more