Kubernetes Index Page 1

kubernetes: The connection to the server localhost:8080 was refused

The error "The connection to the server localhost:8080 was refused - did you specify the right host or port?" is very common, check here how to solve the error with gcloud or while using kubectl command.