搭建kubenates-err1

异常内容:

W0801 09:20:29.965243    2958 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignored when control-plane flag is not set.
[preflight] Running pre-flight checks
	[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
	[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.7. Latest validated version: 19.03
error execution phase preflight: couldn't validate the identity of the API Server: expected a 32 byte SHA-256 hash, found 27 bytes
To see the stack trace of this error execute with --v=5 or higher

解决办法(token过期,重新生成一个即可):

kubeadm token create --print-join-command

在master节点运行上面命令,得到类似

kubeadm join --token y1eyw5.ylg568kvohfdsfco --discovery-token-ca-cert-hash sha256: 6c35e4f73f72afd89bf1c8c303ee55677d2cdb1342d67bb23c852aba2efc7c73

的命令,在node节点运行,即可。

你可能感兴趣的:(Exception)