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

did you run below commands after kubeadm init To start using your cluster, you need to run as a regular user : ref:https: github.com kubernetes kubernetes issues ...

2017-05-09 19:37 0 4160 推荐指数:

查看详情

k8s报错:The connection to the server localhost:8080 was refused

k8s的node节点使用kubectl命令时,如kubectl get pods --all-namespaces 出现如下错误: 解决办法1:使用一个非 root 账户登录,然后运行下列命令: 解决办法2:   出现这个问题的原因是kubectl命令需要 ...

Thu Feb 17 17:09:00 CST 2022 0 4598
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM