码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-05-09 20:36:43      阅读:2811      评论:0      收藏:0      [点我收藏+]

标签:after   blog   export   pre   cal   fuse   tps   exp   sudo   

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

标签:after   blog   export   pre   cal   fuse   tps   exp   sudo   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!