You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Networking is one of the most critical — and most complex — aspects of running Kubernetes in production. AKS offers multiple networking models, service types, and ingress options. This lesson covers how traffic flows in and out of your cluster, how pods communicate, and how to expose services to the internet securely.
AKS supports two primary network plugins:
Every pod gets an IP address from the Azure virtual network subnet. Pods are first-class citizens on the VNet.
| Aspect | Detail |
|---|---|
| Pod IPs | Assigned from the VNet subnet |
| Pod-to-VM communication | Direct — pods and VMs are on the same network |
| IP consumption | High — requires enough IPs for all pods + nodes |
| Performance | Best — no overlay encapsulation |
| Best for | Production clusters that need VNet integration |
az aks create \
--resource-group rg-aks \
--name my-aks-cluster \
--network-plugin azure \
--vnet-subnet-id /subscriptions/.../subnets/aks-subnet \
--service-cidr 10.0.0.0/16 \
--dns-service-ip 10.0.0.10
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.