Search code examples
kubernetespingmicrok8snoip

Cannot ping external IP address from within Kubernetes Pod


I am trying to set up linuxserver/ddclient within mikrok8s v1.23.16 on ubuntu. I found that ddclient has issues connecting to checkip.dyndns.org.

When I create a shell instance in the ddclient-pod and try to ping any IP, I get no response - so the pod seems to have no connection to the outside world.

Any ideas how to solve this? At this point, I don't even know where to start looking.

Edit: typo


Solution

  • I ended up to completely uninstall the microk8s-cluster, re-apply all manifests, then it worked.

    Seems like some recent hardware changes and together with that new IPs for all nodes in the cluster messed up a few things. I had several conflicting replicas for calico as well as some services with messed up endpoints.

    Fresh install fixed it all.