Skip to content

Commit c2f334a

Browse files
committed
Revierts upgrading existing clusters to use CNI overlay
1 parent 08abfc7 commit c2f334a

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

articles/aks/azure-cni-overlay.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: allensu
66
ms.subservice: aks-networking
77
ms.topic: how-to
88
ms.custom: references_regions
9-
ms.date: 03/06/2023
9+
ms.date: 03/09/2023
1010
---
1111

1212
# Configure Azure CNI Overlay networking in Azure Kubernetes Service (AKS)
@@ -145,21 +145,6 @@ location="westcentralus"
145145
az aks create -n $clusterName -g $resourceGroup --location $location --network-plugin azure --network-plugin-mode overlay --pod-cidr 192.168.0.0/16
146146
```
147147

148-
## Upgrade existing clusters
149-
150-
To update an existing cluster to use Azure CNI overlay, there are a couple prerequisites:
151-
152-
* The cluster must use Azure CNI without the pod subnet feature.
153-
* The cluster is _not_ using network policies.
154-
* The Overlay Pod CIDR needs to be an address range that _does not_ overlap with the existing cluster's VNet.
155-
* If you have subnet Network Security Group rules, they must allow traffic to and from the Pod CIDR (refer to the [network security groups](#network-security-groups) section in this document for more information).
156-
157-
To update a cluster, run the following Azure CLI command.
158-
159-
```azurecli
160-
az aks update --name $clusterName --resource-group $resourceGroup --network-plugin azure --network-plugin-mode overlay --pod-cidr $overlayPodCidr
161-
```
162-
163148
This will perform a rolling upgrade of nodes in **all** nodepools simultaneously to Azure CNI overlay and should be treated like a node image upgrade. During the upgrade, traffic from an Overlay pod to a CNI v1 pod will be SNATed(Source Network Address Translation)
164149

165150
## Next steps

0 commit comments

Comments
 (0)