Pods don't have internet access
See original GitHub issueI have a single node cluster running on a Ubuntu 20.04 machine. None of the pods are able to ping ips or resolve dns requests. The coredns kube-system pod is able to receive requests but isn’t able to resolve them:
[INFO] 10.1.72.109:58333 - 12496 "AAAA IN google.com. udp 28 false 512" NOERROR - 0 2.000540708s
[ERROR] plugin/errors: 2 google.com. AAAA: read udp 10.1.72.108:38219->8.8.4.4:53: i/o timeout
inspection-report-20200813_094313.tar.gz
cat /proc/sys/net/ipv4/ip_forward
is 1
iptables -P FORWARD ACCEPT
has no effect
ufw status
is inactive
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Kubernetes Pods do not have internet access
Everything is working fine except pods does not have access to internet/local network access, Below are my kubernetes details,.
Read more >Coredns issues - pods don't have internet access : r/kubernetes
I've got pods are reporting that they don't have internet. I've narrowed the issue down to a dns problem (cluster is on prem...
Read more >Internet connectivity inside the pod of Kubernetes is not Working
Here's a Kubernetes guide about troubleshooting services. ... Lastly it is very possible that your Pod network overlap with the host ...
Read more >Can't reach internet from pod / container · Issue #5349 - GitHub
Enter a container and try to access the internet (for example with curl on a public address). Expected behavior: Accessing the internet should ......
Read more >Kubernetes: Getting Pods to talk to the Internet, not systemd
Systemd plays havoc with Kubernetes defaults and kills DNS. Here's how to fix that.
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
Hey everyone I know this is closed but wanted to alert you. This is not microk8s specific! I have a kubeadm initialized cluster and am seeing the exact same behavior. If anyone wants me to run commands or show logs etc… I’ll try to pay attention to this thread.
I have the same problem, however, the Windows 3.11 solution (uninstall/reboot/install) did not help in my case.
Since I had a fresh Ubuntu install, I went a bit further and also reinstalled Ubuntu, (server & desktop versions, both 20.04) and then tried installing microk8s, uninstall, reboot and install. At no point could any pod get internet connections.
I think reopening this issue would be justified.