Azure Course Labs

Lab Solution

List the Pods with wide output and you’ll see the internal IP addresses:

kubectl get pods -o wide

The Pod addresses are all in the range you specified for the subnet.

This is because we used the Azure network plugin, and it means individual Pods are addressable across the vnet from services outside of Kubernetes.

Open the Application Gateway in the Azure Portal:

Application Gateway is running in the same vnet as AKS, so it can reach the Pods using their internal IP addresses.