rancher安装完成后安装kubectl命令 报The connection to the server localhost:8080 was refused - did you specif...
使用Rancher搭建K8S后,需要使用kubectl命令,在K8S集群的master上下载安装,出现的问题如下,经百度后,什么时间同步,重启等等无法解决[root@k8s-master ~]# kubectl get nodeThe connection to the server localhost:8080 was refused - did you specify the right host or port?基本解决方法:登录Rancher查看集群 选择全局-- 选择搭建的k8..
原创
2021-04-27 10:52:19 ·
1786 阅读 ·
0 评论