DNS doesn't work on fresh installation
See original GitHub issueDNS doesn’t seem to work on a fresh installation of latest microk8s snap on Ubuntu 18.04. Inspecting the DNS pod with microk8s.kubectl describe pod -n kube-system kube-dns-6ccd496668-w84hj
, I see:
Normal Scheduled 14m default-scheduler Successfully assigned kube-system/kube-dns-6ccd496668-w84hj to mike-ubuntu
...
Normal Created 10m kubelet, mike-ubuntu Created container
Normal Started 10m kubelet, mike-ubuntu Started container
Warning Unhealthy 10m kubelet, mike-ubuntu Liveness probe failed: HTTP probe failed with statuscode: 503
Running the kubernetes-suggested DNS busybox test microk8s.kubectl exec -ti busybox -- nslookup kubernetes.default
, I get:
Server: 10.152.183.10
Address 1: 10.152.183.10 kube-dns.kube-system.svc.cluster.local
nslookup: can't resolve 'kubernetes.default'
command terminated with exit code 1
Any ideas what’s going on?
Attached the inspection report: inspection-report-20190222_095704.tar.gz
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to the Fix "DNS Server Not Responding" Error - Kinsta®
Another reason you may be seeing the “DNS Server Not Responding” message is if your current Windows network adapter driver is old or...
Read more >How to Fix "DNS Server Not Responding" Error (11 Methods)
Running into "DNS Server Not Responding" error? Find out the possible causes and 11 easy ways to immediately solve the problem!
Read more >DNS Server Not Responding in Windows 10 [SOLVED]
If DNS server is not responding error appears on Windows 10, first change the DNS server manually, then enter your MAC address manually....
Read more >How To Fix 'DNS Server Not Responding' Error On Windows 10
This step-by-step guide with screenshots will explain the top 5 methods to fix the DNS Server Not Responding Error in Windows 10.
Read more >DNS Server Not Responding – How to Fix the Error in ...
How to Fix "DNS Serger Not Responding" · Use a Different Web Browser · Try Accessing a Website With a Different Device ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, I missed that, was following the Kubernetes DNS troubleshooting insted. The
sudo iptables -P FORWARD ACCEPT
spell fixed the issue. Thanks!cool