我是靠谱客的博主 迷路奇异果,这篇文章主要介绍kubectl error: The connection to the server localhost:8080 was refused,现在分享给大家,希望可以做个参考。
解决kubectl error: The connection to the server localhost:8080 was refused
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
最后
以上就是迷路奇异果最近收集整理的关于kubectl error: The connection to the server localhost:8080 was refused的全部内容,更多相关kubectl内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复