Windows Pods without internet access in Azure Kubernetes Services

10/28/2019

I have created a AKS cluster and deployed Windows Containers pods, but for some reason my Windows Containers are not able to access internet.

For testing purposes, I deployed a Linux Pod and its able to reach it internet.

Is any additional configuration required to allow internet?

My Windows Pods are resolving the DNS addresses, but ping is not responding.

-- glm
azure
azure-aks
azure-kubernetes
kubernetes
windows-container

1 Answer

10/29/2019

Actually, the pods can access the Internet and Azure also does not forbidden the access from the pods to the Internet. The reason that the ping does not work is the ICMP protocol was forbidden in Windows.

Here is the screenshot of the test:

enter image description here

And here is the NSG rules for the AKS nodes:

enter image description here

-- Charles Xu
Source: StackOverflow