k8s:The connection to the server localhost8080 was refused - did you specify the right host or port
Kubernetes-kubectl命令出现错误Theconnectiontotheserverlocalhost:8080wasrefused-didyouspecifytherighthostorport?今天在Kubernetes的从节点上运行命令【kubectl】出现了如下错误root@k8s-master1:~#kubectlgetnodesTheconnectiontotheserve