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

The connection to the server localhost:8080 was refused - did you specify the right host or port?

时间:2019-12-23 13:03:50      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:source   exp   export   ber   变量   port   生效   cal   local   

###在master将文件拷贝到kubernetes节点上

scp /etc/kubernetes/admin.conf dataexa-k8s-node-01:/etc/kubernetes/

 

###环境变量生效

echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> ~/.bash_profile

source ~/.bash_profile

The connection to the server localhost:8080 was refused - did you specify the right host or port?

标签:source   exp   export   ber   变量   port   生效   cal   local   

原文地址:https://www.cnblogs.com/sxgaofeng/p/12082899.html

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