原文:kubernetes 报错The connection to the server localhost:8080 was refused - did you specify the right host or port?

The connection to the server localhost: was refused did you specify the right host or port 环境变量 原因:kubernetes master没有与本机绑定,集群初始化的时候没有绑定,此时设置在本机的环境变量即可解决问题。 解决方式 步骤一:设置环境变量 具体根据情况,此处记录linux设置该环境变量 方式一 ...

2021-11-15 12:16 0 5244 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM