Skip to content

Commit e24a90b

Browse files
authored
Merge pull request #111898 from tyler-lloyd/patch-5
Update azure-cni-overlay.md
2 parents 9f9e397 + f195cec commit e24a90b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

articles/aks/azure-cni-overlay.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ az aks create -n $clusterName -g $resourceGroup --location $location --network-p
121121
> - Doesn't use the dynamic pod IP allocation feature.
122122
> - Doesn't have network policies enabled.
123123
> - Doesn't use any Windows node pools with docker as the container runtime.
124+
125+
> [!WARNING]
126+
> Prior to Windows OS Build 20348.1668, there was a limitation around Windows Overlay pods incorrectly SNATing packets from host network pods, which had a more detrimental effect for clusters upgrading to Overlay. To avoid this issue, **use Windows OS Build greater than or equal to 20348.1668**.
127+
128+
> [!WARNING]
129+
> If using a custom azure-ip-masq-agent config to include additional IP ranges that should not SNAT packets from pods, upgrading to Azure CNI Overlay may break connectivity to these ranges. Pod IPs from the overlay space will not be reachable by anything outside the cluster nodes.
130+
> Additionally, for sufficiently old clusters there may be a ConfigMap left over from a previous version of azure-ip-masq-agent. If this ConfigMap, named `azure-ip-masq-agent-config`, exists and is not intetionally in-place it should be deleted before running the update command.
131+
> If not using a custom ip-masq-agent config, only the `azure-ip-masq-agent-config-reconciled` ConfigMap should exist with respect to Azure ip-masq-agent ConfigMaps and this will be updated automatically during the upgrade process.
124132
125133
The upgrade process triggers each node pool to be re-imaged simultaneously. Upgrading each node pool separately to Overlay isn't supported. Any disruptions to cluster networking are similar to a node image upgrade or Kubernetes version upgrade where each node in a node pool is re-imaged.
126134

@@ -139,9 +147,6 @@ az aks update --name $clusterName \
139147

140148
The `--pod-cidr` parameter is required when upgrading from legacy CNI because the pods need to get IPs from a new overlay space, which doesn't overlap with the existing node subnet. The pod CIDR also can't overlap with any VNet address of the node pools. For example, if your VNet address is *10.0.0.0/8*, and your nodes are in the subnet *10.240.0.0/16*, the `--pod-cidr` can't overlap with *10.0.0.0/8* or the existing service CIDR on the cluster.
141149

142-
> [!WARNING]
143-
> Prior to Windows OS Build 20348.1668, there was a limitation around Windows Overlay pods incorrectly SNATing packets from host network pods, which had a more detrimental effect for clusters upgrading to Overlay. To avoid this issue, **use Windows OS Build 20348.1668**.
144-
145150
## Install the aks-preview Azure CLI extension - Windows only
146151

147152
[!INCLUDE [preview features callout](includes/preview/preview-callout.md)]

0 commit comments

Comments
 (0)