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
kubeadm failed to start kube-dns #38118
Comments
you need add the cni network first |
I meet a problem similar to this.I have already added the cni network, but the
|
@du2016
I thought that I had already tried @Zjianglin I will close this issue. Please make new issue yourself if needed. |
in my case i didn't implemented flannel pod network correctly. i ran this then after setup is done. i ran following command this is wrong if you also ran this command also run following command kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel-rbac.yml or you can run following command with out above two. kubectl apply -f kube-flannel-rbac.yml -f kube-flannel.yml |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
kubeadm, kube-dns
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Kubernetes version (use
kubectl version
):Environment:
uname -a
):Install tools: kubeadm
Others:
What happened:
kubeadm failed to start kube-dns.
What you expected to happen:
kube-dns starts successfully.
How to reproduce it (as minimally and precisely as possible):
I followed the instructions. http://kubernetes.io/docs/getting-started-guides/kubeadm/
Anything else do we need to know:
1s 1m 68 kube-dns-654381707-vf4te Pod Warning FailedSync {kubelet ip-10-1-24-144} Error syncing pod, skipping: failed to "SetupNetwork" for "kube-dns-654381707-vf4te_kube-system" with SetupNetworkError: "Failed to setup network for pod \"kube-dns-654381707-vf4te_kube-system(c37672ee-bb00-11e6-9cb2-06d39f467f73)\" using network plugins \"cni\": cni config unintialized; Skipping pod"
🤔I tried
kubectl create -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
, but kube-dns didn't start.The text was updated successfully, but these errors were encountered: