kubernetes 一个窗口可以使用kubectl 另一个窗口不可以The connection to the server localhost:8080 was refused - did you
这是一个虚拟机内,为master节点,左边的窗口可以正常使用kubetl,右边就没法用,提示The connection to the server localhost:8080 was refused - did you specify the right host or port?方法一:mkdir -p $HOME/.kubesudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/configsudo chown $(id -u):$(i