When you see similar error as below: 1user@example:~$ kubectl get nodes 2The connection to the server localhost:8080 was refused - did you specify the right host or port? Check for the "$KUBECONFIG" if set and "kubectl config view" output. Chances are, both are empty like below: 1user@example:~$ …
Read More