场景: 节点须要看见Pod 提示错误vim
The connection to the server localhost:8080 was refused - did you specify the right host or port?
2 : Master节点复制config文件到Node节点spa
Master节点的config文件位置. 打开vim kubeadm-init.log在末尾code
对,如上图的文件复制到节点, 在节点执行下面操做server
export KUBECONFIG=/root/config