You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flannel pod are running fine, but coredns are still Pending
# kubectl get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-flannel kube-flannel-ds-cqxvn 1/1 Running 0 34m
kube-system coredns-6d4b75cb6d-4l4k5 0/1 Pending 0 38m
kube-system coredns-6d4b75cb6d-p8fsq 0/1 Pending 0 38m
kube-system etcd-k8s-node01 1/1 Running 8 38m
kube-system kube-apiserver-k8s-node01 1/1 Running 5 38m
kube-system kube-controller-manager-k8s-node01 1/1 Running 0 38m
kube-system kube-proxy-vhzxq 1/1 Running 0 38m
kube-system kube-scheduler-k8s-node01 1/1 Running 5 38m
run kubectl describe -n kube-system po coredns-6d4b75cb6d-p8fsq
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 33s (x9 over 40m) default-scheduler 0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
run journalctl -xefu kubelet
Aug 18 08:35:23 k8s-node01 kubelet[376556]: E0818 08:35:23.055980 376556 kubelet.go:2349] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Aug 18 08:35:28 k8s-node01 kubelet[376556]: E0818 08:35:28.057657 376556 kubelet.go:2349] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Aug 18 08:35:33 k8s-node01 kubelet[376556]: E0818 08:35:33.059659 376556 kubelet.go:2349] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Aug 18 08:35:38 k8s-node01 kubelet[376556]: E0818 08:35:38.060972 376556 kubelet.go:2349] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Aug 18 08:35:43 k8s-node01 kubelet[376556]: E0818 08:35:43.062988 376556 kubelet.go:2349] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
The text was updated successfully, but these errors were encountered:
You seem to have troubles using Kubernetes and kubeadm.
Note that our issue trackers should not be used for providing support to users.
There are special channels for that purpose.
What keywords did you search in kubeadm issues before filing this one?
CNI dosen't work after kubeadm init cluster
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
): v1.24.2Environment:
kubectl version
): v1.24.2uname -a
):Linux 5.15.0-25-generic Updating kubeadm manifests #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxWhat happened?
I use kubeadm to initialize a cluster, yaml files shows below:
Cluster initializated well, and then install CNI, I try flannel first
The flannel pod are running fine, but coredns are still Pending
run
kubectl describe -n kube-system po coredns-6d4b75cb6d-p8fsq
run
journalctl -xefu kubelet
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
The text was updated successfully, but these errors were encountered: