question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pods don't have internet access

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
abonnycommented, Nov 2, 2020

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.

3reactions
mutechcommented, Oct 21, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found