-
Notifications
You must be signed in to change notification settings - Fork 463
kube-dns and dashboard get into a crash loop #878
Comments
Not sure if this helps, but we were also running into |
@jbw976 I followed instruction at https://github.com/rook/coreos-kubernetes/blob/master/Documentation/getting-started.md and used Calico. |
@jbw976 I finally deployed a master node using Calico. But, "Set Up the CNI config (optional)" link is dead in "https://github.com/rook/coreos-kubernetes/blob/master/Documentation/deploy-workers.md". |
Same problem here. Would prefer have flannel working before Calico |
Have been attempting to solve this for a while now. When I run describe kube-dns I get:
I noticed in the above there are no endpoints. Whereas describe service kubernetes I get endpoints.
The logs for kubedns, dnsmasq, and healthz I noticed it's having trouble connecting to 10.3.0.1 > health reports
According to the kube-dns troubleshooter guide, I used busy box for a simple nslookup, I got:
Any ideas? I followed the instructions on the Kubernetes guide to the letter and I'm using flannel without calico. How would I approach resolving kubernetes.default? Also, the dashboard (Add-ons page on official guide) seems to be having the same problem. |
Still no luck. |
@Ascendance |
I am facing the same issue. I an not using calico, just flanneld. Did you find the solution? @jazzsir @Ascendance |
We just had the same issue with kubedns and dashboard crash looping up as well, but are using weave. No luck resolving yet. |
@hsteckylf Check the kube-proxy logs, I found some issues in the logs, fixed them and the issue is gone now. |
Thanks! In our case, it ended up being due to the same issue as weaveworks/weave#1875 with all of the weave IPAM IP space being allocated to unreachable (old) pods. After looping through weave rmpeer and recovering those IPs, all of the connections and pods were restored. |
just change the port 6443 to 443 |
@mfaizanse could you please share more of how did you resolve the issue ? I've same issue, I think this log give hints `
$ kubectl get endpoints kubernetes hostnames kube-dns
` I try search and read more articles, but I haven't have a clear step how to troubleshoot and resolve such problem. |
I've deployed the DNS and Dashboard Add-on, according to Step 5: Deploy Add-ons, but they get into a crash loop.
My installation procedure is the same as Manual Installation except for adding "--storage-backend=etcd2" and "--storage-media-type=application/json" to kube-apiserver.yaml because apiserver pod periodically restarts.
details as the below:
kube-dns logs
kubernetes-dashboard logs
etc..
The text was updated successfully, but these errors were encountered: