场景: 节点需要看见Pod 提示错误

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

 

2 : Master节点复制config文件到Node节点


Master节点的config文件位置.  打开vim kubeadm-init.log在末尾

K8S 节点提示错误 The connection to the server localhost:8080 was refused - did you specify the right host or port?

 

 对,如上图的文件复制到节点, 在节点执行下面操作

export KUBECONFIG=/root/config

K8S 节点提示错误 The connection to the server localhost:8080 was refused - did you specify the right host or port?

 

相关文章:

  • 2021-07-01
  • 2022-03-07
  • 2022-02-19
  • 2021-10-29
  • 2021-05-23
  • 2021-07-27
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-09
相关资源
相似解决方案