I have installed kubeadm on my host running ubuntu 16.04. My corporate network has a firewall that blocks certain images (gcr.io link). So i use an Airtel 4G dongle for the installation. But everytime I unplug the dongle and replug it, the IP address changes. Thus making the kube-api-server not reachable.
Unable to connect to the server dial tcp 100.x.x.x:6443: i/o timeout
How should i fix this? Is there any way for me to make the IP static? Is there any workaround?
That only you use the static IP, that the other can be find apiserver, if you don't have static IP, maybe you can consider the NAT private netwrok