Can I Change the IP Address of a Node in a CCE Cluster?
- Private IP: No. Currently, CCE clusters use the private IP of a node as the Kubernetes node name, which cannot be changed. Changing the name will make the node unavailable.
- Public IP: Yes. The public IP 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.
- 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
- 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
- After the modification is complete, restart the node.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.