Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized 无法创建pod #28

Open
pqpsxx opened this issue Sep 1, 2023 · 2 comments

Comments

@pqpsxx
Copy link

pqpsxx commented Sep 1, 2023

Sep 01 18:55:08 k8s-master01 kubelet[32686]: E0901 18:55:08.684457 32686 kubelet.go:2211] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Sep 01 18:55:13 k8s-master01 kubelet[32686]: E0901 18:55:13.685468 32686 kubelet.go:2211] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"

@kmswilliam
Copy link

kmswilliam commented Nov 23, 2023

大哥我想问一下, 你照着这个教程安装能成功吗, 哪些流程中除了 K8S 命令相关的我没看明白别的都懂, 为啥到装 node 节点里面的 kubelet 哪里执行 kubectl get nodes 就会报 No resources found 来了回回折腾了七八次了, 都是这一个问题, 我该做点什么

@LiuMicheal
Copy link

@pqpsxx 我是先安装Cilium,然后补一个 vim /etc/cni/net.d/10-cilium.conf
{
"cniVersion": "0.3.1",
"name": "cilium",
"type": "cilium-cni"
}
解决的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants