If a server’s private IP may change, you can use the IP of the docker0 interface when installing Kubernetes.
Install Docker to create the
- Run the kubernetes-init script to install Replicated with the Kubernetes scheduler. Because docker has been pre-installed, the script will detect multiple interfaces and prompt you to select one:
Please choose one of the following network interfaces:  eth0 10.138.0.4  docker0 172.17.0.1 Enter desired number (0-1): 1
1to select the
- Proceed with the rest of the installation and upload your license in the UI as always.
The Kubernetes API server will be listening on 172.17.0.1 and changes to the IP of eth0 will not affect the installation.