Cluster information:
Kubernetes version: 1.30.2
Installation method: Apt
Host OS: Debian 12
CNI and version: Calico v3.28.0
CRI and version: Containerd v1.7.18
Hi everyone, I have deployed my first local Kubernetes cluster with 2 nodes using kubeadm, and i ran into some issues when wanting to access internet inside a pod.
I can deploy and run pods, but they don’t have access to internet, and i cannot figure out why. I do not have a firewall enable, and the ports are open.
If i do not require an internet connection, everything works.
I checked the logs of CoreDNS and i found theses errors if i try to ping google:
[ERROR] plugin/errors: 2 www.google.com. A: read udp 192.168.189.107:37389->192.168.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 www.google.com. AAAA: read udp 192.168.189.107:34070->192.168.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 www.google.com. AAAA: read udp 192.168.189.107:53489->192.168.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 www.google.com. A: read udp 192.168.189.107:45772->192.168.0.1:53: i/o timeout
I stuck with this problem, if anyone could help me, I would greatly appreciate it !