使用kubectl命令时,报错:
The connection to the server xxxxx:6443 was refused - did you specify the right host or port?
unset http_proxy https_proxy
systemctl start kubelet
export KUBECONFIG=/etc/kubernetes/admin.conf
或者
export KUBECONFIG=/etc/kubernetes/kubelet.conf