Skip to content

Commit 9d48b38

Browse files
authored
Merge pull request #171816 from mattstam/mattstam/multi-subnet-calico
Calico Network Policy allowed for multiple pool & subnet
2 parents be1b437 + 59342e0 commit 9d48b38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ A workload may require splitting a cluster's nodes into separate pools for logic
128128

129129
* All subnets assigned to nodepools must belong to the same virtual network.
130130
* System pods must have access to all nodes/pods in the cluster to provide critical functionality such as DNS resolution and tunneling kubectl logs/exec/port-forward proxy.
131-
* If you expand your VNET after creating the cluster you must update your cluster (perform any managed cluster operation but node pool operations don't count) before adding a subnet outside the original cidr. AKS will error out on the agent pool add now though we originally allowed it. If you don't know how to reconcile your cluster file a support ticket.
132-
* Calico Network Policy is not supported.
131+
* If you expand your VNET after creating the cluster you must update your cluster (perform any managed cluster operation but node pool operations don't count) before adding a subnet outside the original cidr. AKS will error out on the agent pool add now though we originally allowed it. If you don't know how to reconcile your cluster file a support ticket.
133132
* Azure Network Policy is not supported.
134-
* Kube-proxy expects a single contiguous cidr and uses it this for three optmizations. See this [K.E.P.](https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2450-Remove-knowledge-of-pod-cluster-CIDR-from-iptables-rules) and --cluster-cidr [here](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/) for details. In Azure cni your first node pool's subnet will be given to kube-proxy.
133+
* Kube-proxy is designed for a single contiguous CIDR and optimizes rules based on that value. When using multiple non-contiguous ranges, these optimizations cannot occur. See this [K.E.P.](https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2450-Remove-knowledge-of-pod-cluster-CIDR-from-iptables-rules) and the documentation for the [`--cluster-cidr` `kube-proxy` argument](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/) for more details. In clusters configured with Azure CNI, `kube-proxy` will be configured with the subnet of the first node pool at cluster creation.
135134

136135
To create a node pool with a dedicated subnet, pass the subnet resource ID as an additional parameter when creating a node pool.
137136

0 commit comments

Comments
 (0)