Author : MD TAREQ HASSAN | Updated : 2021/04/15

Using Existing VNet

Network Prerequisites

Service Address Range

Exposing cluster

IP Address Range Calculation

Design IP Address Spaces

VNet Address Space (feel free to design according to your need)

10.8.0.0/16

Subnet for AKS Cluster (AKSClusterSubnet)

10.8.0.0/21

Service Address CIDR

10.0.0.0/16

Docket bridge IP range (use default)

172.17.0.1/16

While creating AKS in Azure portal, you can use the defaults (automatically filled up) for followings

Example (ARM template from here):

"networkProfile": {
  "loadBalancerSku": "standard",
  "outboundType": "loadBalancer",
  "networkPlugin": "azure",
  "networkPolicy": "calico",
  "serviceCidr": "10.0.0.0/16",
  "dnsServiceIp": "10.0.0.10",
  "dockerBridgeCidr": "172.17.0.1/16"
}

Network Policy

Kubernetes authentication and authorization