场景: 节点需要看见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在末尾
对,如上图的文件复制到节点, 在节点执行下面操作
export KUBECONFIG=/root/config