Introduction
When you create a Kubernetes cluster in Azure, you need to decide how the network connects your containers and nodes. AKS offers two main ways: kubenet and Azure CNI. These control how your apps talk to each other and the outside world.
When you want a simple network setup with fewer IP addresses used, kubenet is a good choice.
When your app needs to have IP addresses from your Azure virtual network, use Azure CNI.
When you want your pods to communicate directly with other Azure resources using native IPs, choose Azure CNI.
When you want to save IP addresses and have a smaller network footprint, kubenet helps.
When you need your pods to be reachable from outside the cluster with their own IPs, Azure CNI is better.