kubernetes 运行kubectl get pods -A后报6443 端口 访问拒绝,
netstat | grep 6443查看并没有占端口
命令:kubelet,看到failed to run kubelet:running with sap on is not supported
命令:swapoff -a 禁用swap
systemctl status kubelet,查看kubelet没有启动,
systemctl restart kubelet, 将kubelet重启
kubectl get pods -A ,可以正常执行。
error1 : 6443 was refused - did you specify the right host or port?
error2: failed to run kubelet:running with sap on is not supported