我是靠谱客的博主 缓慢棒棒糖,这篇文章主要介绍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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(92)

评论列表共有 0 条评论

立即
投稿
返回
顶部