I have just installed Kubernetes on my MacOS using homebrew.
Now, in the terminal, I ran kubectl version
command and the error message reads Unable to connect to the server: dial tcp 35.225.115.157:443: i/o timeout
How to solve this issue?
kubectl version
makes a connection to both client and server (kubernetes master) in order to print the versions.
Run kubectl cluster-info
and check if the server is up.