The connection to the server localhost:8080 was refused – did you specify the right host or port?1 min read
You might have encountered the below error when you are trying to access the Kubernetes cluster from any nodes.
This is because you don’t have the kube/.confg file to connect the Kubernetes cluster.
You can copy the .kube/config file from /etc/kubernetes/admin.conf file.
Make sure that you have installed kubctl in your system to access the Kubernetes cluster.