# About installation，network plugin，flannel

**URL:** <https://discuss.kubernetes.io/t/about-installation-network-plugin-flannel/23389>\
**Category:** General Discussions\
**Created:** [March 9, 2023, 10:35am UTC](https://discuss.kubernetes.io/t/about-installation-network-plugin-flannel/23389 "2023-03-09T10:35:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![okguo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/okguo/32/12007_2.png) [@okguo](https://discuss.kubernetes.io/u/okguo)\
**Post date:** [March 9, 2023, 10:35am UTC](https://discuss.kubernetes.io/t/about-installation-network-plugin-flannel/23389/1 "2023-03-09T10:35:31Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version:1.26.1  
Cloud being used: (put bare-metal if not on a public cloud) study  
Installation method:kubeadm  
Host OS: Centos7  
CNI and version:  
CRI and version:

flannel is Running  
but coredns pod always Pending  
kubelet log

 ![微信图片_20230309183459](https://us1.discourse-cdn.com/flex016/uploads/kubernetes/original/2X/d/d97bcfeb0eb16974a6363218b414002194bd292a.png)

“Container runtime network not ready” networkReady=“NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized”

and  
I tried this

```auto
kubectl delete -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml
sudo ip link del cni0
sudo ip link del flannel.1
sudo rm /etc/cni/net.d/10-flannel.conflist
kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml

```

but it dosn’t work

---

<div class="post-metadata">

**Author:** ![protosam](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/protosam/32/7732_2.png) [@protosam](https://discuss.kubernetes.io/u/protosam)\
**Post date:** [March 9, 2023, 4:50pm UTC](https://discuss.kubernetes.io/t/about-installation-network-plugin-flannel/23389/2 "2023-03-09T16:50:01Z")

</div>

- Did you do the stuff mentioned [here](https://kubernetes.io/docs/setup/production-environment/container-runtimes/#install-and-configure-prerequisites)?
- Do the logs for flannel show any signs of problems?
- Have you tried other CNI’s? I have used [calico](https://docs.projectcalico.org/getting-started/kubernetes/self-managed-onprem/onpremises) in the past.

---

<div class="post-metadata">

**Author:** ![okguo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/okguo/32/12007_2.png) [@okguo](https://discuss.kubernetes.io/u/okguo)\
**Post date:** [March 28, 2023, 10:11am UTC](https://discuss.kubernetes.io/t/about-installation-network-plugin-flannel/23389/3 "2023-03-28T10:11:41Z")

</div>

no，the logs for flannel show nothing of problem, no only flannel  
and i reboot the centos,it’s worked 😂
