kubernetes: Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver
Hi Team, I am new to k8s. i am installed k8s cluster successfully and i am able to access k8s Dashboard. But i am unable to access other apps from outside. i am getting below error. Kindly suggest me.
root@k8s-master:~# kubectl get svc --all-namespaces
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 4d9h
default nginx NodePort 10.99.240.41 <none> 80:31886/TCP 7h1m
kube-system calico-etcd ClusterIP 10.96.232.136 <none> 6666/TCP 3d10h
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 4d9h
kubernetes-dashboard dashboard-metrics-scraper ClusterIP 10.107.90.107 <none> 8000/TCP 4d9h
kubernetes-dashboard kubernetes-dashboard NodePort 10.100.20.227 <none> 443:31074/TCP 4d9h
root@k8s-master:~# telnet 172.105.41.155 31074
Trying 172.105.41.155...
Connected to 172.105.41.155.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
root@k8s-master:~# telnet 172.105.41.155 31886
Trying 172.105.41.155...
telnet: Unable to connect to remote host: No route to host
root@k8s-master:~#
Sep 16 14:30:57 k8s-master kubelet[1896]: E0916 14:30:57.426517 1896 dns.go:130] Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 172.105.35.5 172.105.36.5 172.105.37.5 Sep 16 14:31:25 k8s-master kubelet[1896]: E0916 14:31:25.426298 1896 dns.go:130] Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 172.105.35.5 172.105.36.5 172.105.37.5 Sep 16 14:31:32 k8s-master kubelet[1896]: E0916 14:31:32.426270 1896 dns.go:130] Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 172.105.35.5 172.105.36.5 172.105.37.5 Sep 16 14:31:56 k8s-master kubelet[1896]: E0916 14:31:56.426208 1896 dns.go:130] Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 172.105.35.5 172.105.36.5 172.105.37.5
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (6 by maintainers)
Boring bots have closed this issue but I’m just facing it now 😞
sigh
For posterity’s sake (because this issue is both unhelpful and a top search result) this reddit thread has some relevant info: https://www.reddit.com/r/kubernetes/comments/7ruq0f/kubelet_nameserver_limits_were_exceeded/
Thanks!
(The bots on this repo are worthless. Couldn’t say how many issues I have googled, just to run into an issue closed by a bot)
Silly human! How dare you question the decisions of our robot overlords!