首页 > 其他 > 详细

kubectl error: The connection to the server localhost:8080 was refused

时间:2017-05-09 20:30:38      阅读:4392      评论:0      收藏:0      [点我收藏+]

did you run below commands after kubeadm init

To start using your cluster, you need to run (as a regular user):

sudo cp /etc/kubernetes/admin.conf $HOME/
sudo chown $(id -u):$(id -g) $HOME/admin.conf
export KUBECONFIG=$HOME/admin.conf

 

 

ref: https://github.com/kubernetes/kubernetes/issues/44665

kubectl error: The connection to the server localhost:8080 was refused

原文:http://www.cnblogs.com/pinganzi/p/6832297.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!