Open sunminming opened 19 hours ago
执行all-in-one脚本时,节点一直处于notready状态导致执行失败。kubelet日志如下:
root@k8s-10-10-40-34:/home/sunminming# journalctl -u kubelet -f 11月 24 00:20:38 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:38.181949 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:20:43 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:43.183088 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:20:48 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:48.184364 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:20:53 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:53.186022 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:20:58 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:58.187547 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:21:03 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:03.189435 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:21:08 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:08.192488 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" 11月 24 00:21:13 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:13.193692 12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
节点状态Ready,cni pod正常启动
按教程执行脚本
No response
root@k8s-10-10-40-34:/home/sunminming# uname -a Linux k8s-10-10-40-34 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
What happened? 发生了什么问题?
执行all-in-one脚本时,节点一直处于notready状态导致执行失败。kubelet日志如下:
What did you expect to happen? 期望的结果是什么?
节点状态Ready,cni pod正常启动
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
按教程执行脚本
Anything else we need to know? 其他需要说明的情况
No response
Kubernetes version k8s 版本
Kubeasz version
OS version 操作系统版本
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况