昨天在我们群主的帮助下,成功安装完成了All-in-one单节点,今天将单节点删除后,再安装Multi-node,还是报之前遇到过的两类问题:
- 节点找不到,错误信息如下:
2020-05-15 18:59:33,204 p=23124 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.301397”,
“end”: “2020-05-15 18:59:33.176589”,
“failed_when_result”: true,
“rc”: 1,
“start”: “2020-05-15 18:59:32.875192″
}
STDERR:
Error from server (NotFound): nodes “k8sphere02″ not found
MSG:
non-zero return code
2020-05-15 18:59:33,349 p=23124 u=root | fatal: [k8sphere03]: FAILED! => {
“changed”: true,
“cmd”: “/usr/local/bin/kubectl annotate node k8sphere03 alpha.kubernetes.io/provided-node-ip=192.168.108.45”,
“delta”: “0:00:00.377296”,
“end”: “2020-05-15 18:59:33.316986”,
“failed_when_result”: true,
“rc”: 1,
“start”: “2020-05-15 18:59:32.939690”
}
STDERR:
Error from server (NotFound): nodes “k8sphere03” not found
MSG:
non-zero return code
- ks-installer安装报错
fatal: [k8sphere01]: FAILED! => {
“attempts”: 30,
“changed”: true,
“cmd”: “/usr/local/bin/kubectl get pod -n kubesphere-system | grep Running | grep ks-installer”,
“delta”: “0:00:00.072270”,
“end”: “2020-05-15 19:15:20.891646″,
“rc”: 1,
“start”: “2020-05-15 19:15:20.819376”
}
MSG:
non-zero return code