Pinging external hosts from container in AKS

Doggeman 6 Reputation points
2020-09-28T12:47:34.643+00:00

Hi,

I'm trying to ping an external host (say 8.8.8.8) from a standard linux container running inside AKS. Curling and higher level protocols to the same host works fine.

Someone mentioned that you need an external LB for this to work and I have multiple within the same namespace.
I've tried with both kubenet and azure-cni as the network model, same results, no replies.

I've also tried by allowing all traffic on all ports and protocols in the NSG that gets created with the cluster but no luck there either.

Best,
Douglas

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,779 questions
{count} votes