aravind-craft
aravind-craft
+1 Facing same issue on Centos 7 and Docker 1.11.1 The stats works for the VM/host but not for containers (baseimage: centos) deployed on the VM. Strange.
> @aravind-murthy Do you happen to run NetworkManager or dnsmasq on your machine? > systemd-resolved uses 'nameserver 127.0.0.53' in the /etc/resolv.conf and saves original resolv.conf in /run/systemd/resolve/resolv.conf. You don't have...
> please provide logs from the CoreDNS pods. > > google reveils numerous reports that this is problematic on Ubuntu: > `nameserver 127.0.1.1` > read this: https://askubuntu.com/questions/627899/nameserver-127-0-1-1-in-resolv-conf-wont-go-away > > in...
> please provide logs from the CoreDNS pods. > > google reveils numerous reports that this is problematic on Ubuntu: > `nameserver 127.0.1.1` > read this: https://askubuntu.com/questions/627899/nameserver-127-0-1-1-in-resolv-conf-wont-go-away > > in...
> @aravind-murthy Please check if you have /etc/NetworkManager/NetworkManager.conf and what is mentioned there as dns, e.g. dns=dnsmasq. You can also check if dnsmasq process is in the 'ps aux' output...
> ``` > root@k8s-master:~# kubectl describe pod coredns-576cbf47c7-dkhx5 > Error from server (NotFound): pods "coredns-576cbf47c7-dkhx5" not found > ``` > ^ you need to add `-n kube-system` to specify the...
> once the container enters `CrashLoopBackOff` you can also call `docker ps` to see the running containers and then `docker logs [coredns-container-id]` to see the logs from the container itself....
> Then restore original name servers in /etc/resolv.conf (they're probably commented out there) I havent commented anything out in this file (/etc/resolv.conf). It currently has following entries: ``` Dynamic resolv.conf(5)...
> @aravind-murthy can you comment out line with dnsmasq address: nameserver 127.0.1.1 > then you can delete core-dns pods. they'll be restarted by kubelet and hopefully will work ``` cat...
> see: > [coredns/coredns#2087 (comment)](https://github.com/coredns/coredns/issues/2087#issuecomment-432387727) Yes, this works as I noted in the "Anything else we need to know section" but it looks like its a hacky solution. ``` root@k8s-master:~#...