kubeasz icon indicating copy to clipboard operation
kubeasz copied to clipboard

The connection to the server localhost:8080 was refused

Open oneslideicywater opened this issue 4 years ago • 6 comments

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

单机版应该是/etc/kubernetes/admin.conf缺失,我找不到这个文件,没办法复制到我的用户目录.kube,请问这个怎么解决?

oneslideicywater avatar Jun 19 '20 03:06 oneslideicywater

集群安装完都自动复制的,不需要手动;

gjmzj avatar Jun 20 '20 10:06 gjmzj

我也出现这个问题,有解决方案吗

GaiserChen avatar Jul 18 '20 13:07 GaiserChen

同问

LuoShiXi avatar Nov 10 '21 01:11 LuoShiXi

同问

XinePan avatar Apr 11 '22 03:04 XinePan

注意切换到root下

drepig avatar Apr 14 '22 13:04 drepig

linux下的配置文件在/root/.kube/config下

drepig avatar Apr 14 '22 13:04 drepig

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Dec 25 '22 21:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jan 01 '23 21:01 github-actions[bot]