2020-06-11 16:49:23,375 p=18582 u=root | TASK [kubernetes/kubeadm : Join to cluster] *****************************************************************************
2020-06-11 16:49:23,375 p=18582 u=root | Thursday 11 June 2020 16:49:23 +0800 (0:00:00.545) 0:05:36.343 *********
2020-06-11 16:49:23,486 p=18582 u=root | skipping: [master]
2020-06-11 16:50:23,969 p=18582 u=root | fatal: [node1]: FAILED! => {
“changed”: true,
“cmd”: [
“timeout”,
“-k”,
“120s”,
“120s”,
“/usr/local/bin/kubeadm”,
“join”,
“–config”,
“/etc/kubernetes/kubeadm-client.conf”,
“–ignore-preflight-errors=DirAvailable–etc-kubernetes-manifests”
],
“delta”: “0:01:00.257435″,
“end”: “2020-06-11 16:50:23.962173″,
“rc”: 1,
“start”: “2020-06-11 16:49:23.704738”
}
STDOUT:
[preflight] Running pre-flight checks
STDERR:
[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/
error execution phase preflight: couldn’t validate the identity of the API Server: abort connecting to API servers after timeout of 1m0s
To see the stack trace of this error execute with –v=5 or higher
MSG:
non-zero return code
离线版安装包2.1.1 求大佬给看看,我改过docker的配置文件,改成systemd,但是每次一安装,就又自己变回去cgroupfs了(应该是脚本自己设置的)。。。