本次是1master,2个node,安装结果提示k8sphere02节点有1个错误,具体错误如下:
2020-05-10 17:14:37,214 p=18910 u=root | TASK [prepare/nodes : Annotating nodes] ******************************************************************************************************************************************************
2020-05-10 17:14:37,214 p=18910 u=root | Sunday 10 May 2020 17:14:37 +0800 (0:00:00.485) 0:00:40.542 ************
2020-05-10 17:14:37,437 p=18910 u=root | changed: [k8sphere01]
2020-05-10 17:14:37,748 p=18910 u=root | fatal: [k8sphere02]: FAILED! => {
“changed”: true,
“cmd”: “/usr/local/bin/kubectl annotate node k8sphere02 alpha.kubernetes.io/provided-node-ip=192.168.108.73″,
“delta”: “0:00:00.247497″,
“end”: “2020-05-10 17:14:37.717230″,
“failed_when_result”: true,
“rc”: 1,
“start”: “2020-05-10 17:14:37.469733”
}
STDERR:
Error from server (NotFound): nodes “k8sphere02” not found
MSG:
non-zero return code