在安装K8S集群或者运行过程中,大家可能会遇到"Error gettting node"
的问题,例如:
"Error getting node" err="node \"master\" not found"
dial tcp 10.8.126.46:6443: connect: connection refused"
"Error getting node" err="node \"master\" not found"
"Error getting node" err="node \"master\" not found"
排查这类问题的方法是执行如下命令查看具体错误原因:
journalctl -xeu kubelet
找到最初的报错,根据不同的错误进行处理。
根据我遇到过的问题,主要有以下可能:
k8s.gcr.io/pause:3.6
,该镜像在国内服务器下载不成功,需要手工下载