Skip to content

Commit 59824ae

Browse files
author
Justin
committed
add subnet per pool and update limits
1 parent 670d246 commit 59824ae

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

articles/aks/use-multiple-node-pools.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following limitations apply when you create and manage AKS clusters that sup
2929
* The AKS cluster must use the Standard SKU load balancer to use multiple node pools, the feature is not supported with Basic SKU load balancers.
3030
* The AKS cluster must use virtual machine scale sets for the nodes.
3131
* The name of a node pool may only contain lowercase alphanumeric characters and must begin with a lowercase letter. For Linux node pools the length must be between 1 and 12 characters, for Windows node pools the length must be between 1 and 6 characters.
32-
* All node pools must reside in the same vnet and subnet.
32+
* All node pools must reside in the same virtual network.
3333
* When creating multiple node pools at cluster create time, all Kubernetes versions used by node pools must match the version set for the control plane. This can be updated after the cluster has been provisioned by using per node pool operations.
3434

3535
## Create an AKS cluster
@@ -119,6 +119,27 @@ $ az aks nodepool list --resource-group myResourceGroup --cluster-name myAKSClus
119119
> [!TIP]
120120
> If no *VmSize* is specified when you add a node pool, the default size is *Standard_DS2_v3* for Windows node pools and *Standard_DS2_v2* for Linux node pools. If no *OrchestratorVersion* is specified, it defaults to the same version as the control plane.
121121
122+
### Add a node pool with a dedicated subnet
123+
124+
> [!NOTE]
125+
> Assignment of a node pool in a unique subnet is limited to Azure CNI, with support for Kubenet coming in the future.
126+
127+
Scenarios may require splitting up your cluster's nodes into separate pools for logical isolation and separate subnets dedicated to each node pool. This is common if your virtual network address space is not contiguous across all nodes. To address this a dedicated virtual network subnet can be passed to a given node pool.
128+
129+
It is required that all nodes in a given cluster reside in the same virtual network and all subnets assigned to nodepools reside in the same virtual network. Critical system-pod components running your cluster must be able to communicate with all nodes hosting applications in order to provide core functionality such as DNS resolution via coreDNS.
130+
131+
This is defined with an additional parameter added to the node pool add command shown previously.
132+
133+
```azurecli-interactive
134+
az aks nodepool add \
135+
--resource-group myResourceGroup \
136+
--cluster-name myAKSCluster \
137+
--name mynodepool \
138+
--node-count 3 \
139+
--kubernetes-version 1.15.5
140+
--vnet-subnet-id <YOUR_SUBNET_RESOURCE_ID>
141+
```
142+
122143
## Upgrade a node pool
123144

124145
> [!NOTE]

0 commit comments

Comments
 (0)