我是靠谱客的博主 缓慢棒棒糖,最近开发中收集的这篇文章主要介绍Mac Kubernetes 报 The connection to the server localhost:6443 was refused,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
原文:https://github.com/kubernetes/kubernetes/issues/23726
Deleted the old config from ~/.kube and then restarted docker (for macos) and it rebuilt the config folder.
All good now when I do 'kubectl get nodes'.
1. rm -rf ~/.kube
2. 重启 docker 和 k8s
最后
以上就是缓慢棒棒糖为你收集整理的Mac Kubernetes 报 The connection to the server localhost:6443 was refused的全部内容,希望文章能够帮你解决Mac Kubernetes 报 The connection to the server localhost:6443 was refused所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复