问题描述
在 this tutorial 之后,我为我的集群设置了一个工作节点。但是,在运行 join
命令并尝试 kubectl get node
验证节点已连接后,我遇到了以下错误
W0215 17:58:44.648813 3084402 loader.go:223] Config not found: /etc/kubernetes/admin.conf
The connection to the server localhost:8080 was refused - did you specify the right host or port?
检查 admin.conf
中是否存在 /etc/kubernetes/
表明它不存在。我已经确保 $HOME/.kube/config
也很清楚。为什么join命令没有创建admin.conf文件?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)