K8S Node节点报错-The connection to the server localhost:8080 was refused - did you specify the right host or port?
master 上 的/etc/kubernetes/admin.conf 文件copy到当前节点 目录下,执行以下命令
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> ~/.bash_profile
source ~/.bash_profile
努力让自己变得不那么low