摘要: 在非master节点上执行k8s命令时提示:The connection to the server localhost:8080 was refused - did you specify the right host or port? [root@devops-k8s17-36 ~]# kube 阅读全文
posted @ 2021-06-08 10:56 为什么要取名字 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Rancher部署成功后执行kubectl命令只能在控制台执行,无法在宿主机直接执行很不方便。 配置步骤: 1.在宿主机上下载kubectl 二进制文件 [root@devops-k8s19-38 ~]# curl -LO https://storage.googleapis.com/kuberne 阅读全文
posted @ 2021-06-08 10:38 为什么要取名字 阅读(609) 评论(0) 推荐(0) 编辑