老师
kubectl get node 和 kubectl get po -n kube-system 有时候能正常访问,如上图,有时候就是提示
“The connection to the server 192.168.56.101:6443 was refused - did you specify the right host or port?”错误,
查看kube日志有时候是上述:
error getting node “master”: Get “https://192.168.56.101:6443/api/v1/nodes/master?timeout=10s”: dial tcp 192.168.56.101:6443: connect: connection refused
有时候 是如下图
老师,这样该怎么去排查问题?