I provisioned a kubernetes cluster on my own couple of virtual machines via kubespray.
The VM's network is bridged adapter and kubespray uses calico as default network-plugin.
Before sometime, I've switched to another network and as a result of the router change, the internal IP addresses have been changed.
When I run
kubectl get nodes on the master node I get -
Unable to connect to server : dial tcp <master previous IP>:6443: connect: network is unreachable
In addition, the vm doesn't generate a new ip for the machine (- from the current router.).
My question is, How can I change the ip's of the nodes ?
Attached is the screenshot of my laptop that shows the k8s nodes and the column I wish to edit.
(- The screenshot is fro when I've been connected to the network via the previous router.)
Thanks in advance for any help !