报错1:文件存在
error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR FileAvailable–etc-kubernetes-manifests-kube-apiserver.yaml]: /etc/kubernetes/manifests/kube-apiserver.yaml already exist
这个报错是因为重复安装引起,执行重置命令即可。
|
|
报错2:container not running
[ERROR CRI]: container runtime is not running: output: E0606 12:41:12.605990 1307975 remote_runtime.go:925] “Status f service runtime.v1alpha2.RuntimeService”
time=“2022-06-06T12:41:12Z” level=fatal msg=“getting status of runtime: rpc error: code = Unimplemented desc = unknown servic
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with –v=5 or higher
网上给的解决方法:
|
|
报错3: The kubelet is not running
参考链接 这个问题困住我一段时间。 解决方法, docker的daemon文件写入下面参数。成功解决。
|
|
重启
|
|
非部署节点 resfuse
普通节点执行安装网络插件命令时报错
|
|
kubectl命令需要使用kubernetes-admin来运行,需要admin.conf文件(conf文件是通过“ kubeadmin init”命令在主节点/etc/kubernetes 中创建),但是从节点没有conf文件,也没有设置 KUBECONFIG =/root/admin.conf环境变量,所以需要复制conf文件到从节点,并设置环境变量就OK了
|
|