当前位置:网站首页>[problem solving] the connection to the server localhost:8080 was referred
[problem solving] the connection to the server localhost:8080 was referred
2022-06-24 07:02:00 【Look, the future】
Problem analysis
reason :kubernetes master Not bound to this machine , When the cluster is initialized, it is not bound , At this time, the problem can be solved by setting the environment variable on the machine .
Solution
Step one : Set the environment variable
Depending on the situation , Record here linux Set the environment variable
Mode one : Edit file settings
vim /etc/profile
Add a new environment variable at the bottom export KUBECONFIG=/etc/kubernetes/admin.conf
Mode two : Directly append the contents of the file
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> /etc/profile
Step two : Make effective
source /etc/profile
边栏推荐
- 记录--关于JSP前台传参数到后台出现乱码的问题
- 跳跃游戏II[贪心练习]
- How do I check the IP address? What is an IP address
- Nine unique skills of Huawei cloud low latency Technology
- FreeRTOS MPU使系统更健壮!
- Arduino融资3200万美元,进军企业市场
- Game website making tutorial and correct view of games
- 【问题解决】虚拟机配置静态ip
- 【愚公系列】2022年6月 ASP.NET Core下CellReport报表工具基本介绍和使用
- 智能视觉组A4纸识别样例
猜你喜欢
随机推荐
Distributed cache breakdown
记录--关于JSP前台传参数到后台出现乱码的问题
How to send SMS in groups? What are the reasons for the poor effect of SMS in groups?
浅谈如何运营好小红书账号:利用好长尾词理论
项目Demo
[JUC series] completionfuture of executor framework
How long does the domain name filing take and what materials need to be prepared
leetcode:85. 最大矩形
华为云低时延技术的九大绝招
How to operate the little red book account: making good use of the theory of long tail words
Spark accumulators and broadcast variables
[binary tree] - middle order traversal of binary tree
The 2021 Tencent digital ecology conference landed in Wuhan, waiting for you to come to the special session of wechat with low code
Record of waic 2021 round table conference 𞓜 cross border dialogue: current situation and future of AI and sustainable development
Why does the remote end receive a check-out notice when the TRTC applet turns off audio and video locally
System design: partition or data partition
Code scanning | a sharp tool for controlling code quality
Internet cafe management system and database
Actual combat | how to deploy flask project using wechat cloud hosting
Working principle of online video server selection method for online video platform




![跳跃游戏II[贪心练习]](/img/e4/f59bb1f5137495ea357462100e2b38.png)




