If you change the local network that your computer is connected to, the cluster's IP may change. If you try to use kubectl to connect to the cluster after this change, you'll see an error saying that the network is unreachable:
$ kubectl cluster-infoKubernetes master is running at https://10.122.35.199:8443Unable to connect to the server: dial tcp 10.122.35.199:8443: connect: network is unreachable
Whenever you see an error like this, run minikube status to check the state of the cluster:
$ minikube statusminikube: Runningcluster: Runningkubectl: Misconfigured: pointing to stale minikube-vm.To fix the kubectl context, run minikube update-context
In this case, it informs us that kubectl is "pointing to the stale minikube-vm ...