Skip to content

Commit 69bc103

Browse files
Merge pull request #248208 from wedaly/widaly/cilium-upgrade-docs-draft
Add docs to upgrade existing cluster to Cilium
2 parents 0dc1aac + b454deb commit 69bc103

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

articles/aks/azure-cni-powered-by-cilium.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,29 @@ az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
110110
--network-dataplane cilium
111111
```
112112

113+
## Upgrade an existing cluster to Azure CNI Powered by Cilium
114+
115+
> [!NOTE]
116+
> You can update an existing cluster to Azure CNI Powered by Cilium if the cluster meets the following criteria:
117+
>
118+
> - The cluster uses either [Azure CNI Overlay](./azure-cni-overlay.md) or [Azure CNI with dynamic IP allocation](./configure-azure-cni-dynamic-ip-allocation.md). This does **not** include [Azure CNI](./configure-azure-cni.md).
119+
> - The cluster does not have Azure NPM or Calico enabled.
120+
> - The cluster does not have any Windows node pools.
121+
122+
The upgrade process triggers each node pool to be re-imaged simultaneously. Upgrading each node pool separately isn't supported. Any disruptions to cluster networking are similar to a node image upgrade or [Kubernetes version upgrade](./upgrade-cluster.md) where each node in a node pool is re-imaged.
123+
124+
Cilium will begin enforcing network policies only after all nodes have been re-imaged.
125+
126+
To perform the upgrade, you will need Azure CLI version 2.52.0 or later. Run `az --version` to see the currently installed version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
127+
128+
Use the following command to upgrade an existing cluster to Azure CNI Powered by Cilium. Replace the values for `<clusterName>` and `<resourceGroupName>`:
129+
130+
```azurecli-interactive
131+
az aks update -n <clusterName> -g <resourceGroupName> \
132+
--network-dataplane cilium
133+
```
134+
135+
113136
## Frequently asked questions
114137

115138
- **Can I customize Cilium configuration?**

0 commit comments

Comments
 (0)