Skip to content

Commit 4e46f9b

Browse files
authored
Update azure-cni-powered-by-cilium.md
Update Azure CNI Powered by Cilium docs to list Azure CNI Overlay as the first option, since that's the one we think is the best default for most customers.
1 parent c12ae54 commit 4e46f9b

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

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

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ By making use of eBPF programs loaded into the Linux kernel and a more efficient
2929

3030
Azure CNI Powered by Cilium can be deployed using two different methods for assigning pod IPs:
3131

32-
- Assign IP addresses from a virtual network (similar to existing Azure CNI with Dynamic Pod IP Assignment)
33-
3432
- Assign IP addresses from an overlay network (similar to Azure CNI Overlay mode)
33+
- Assign IP addresses from a virtual network (similar to existing Azure CNI with Dynamic Pod IP Assignment)
3534

3635
If you aren't sure which option to select, read ["Choosing a network model to use"](./azure-cni-overlay.md#choosing-a-network-model-to-use).
3736

@@ -68,7 +67,19 @@ Azure CNI powered by Cilium currently has the following limitations:
6867
6968
## Create a new AKS Cluster with Azure CNI Powered by Cilium
7069

71-
### Option 1: Assign IP addresses from a virtual network
70+
### Option 1: Assign IP addresses from an overlay network
71+
72+
Use the following commands to create a cluster with an overlay network and Cilium. Replace the values for `<clusterName>`, `<resourceGroupName>`, and `<location>`:
73+
74+
```azurecli-interactive
75+
az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
76+
--network-plugin azure \
77+
--network-plugin-mode overlay \
78+
--pod-cidr 192.168.0.0/16 \
79+
--network-dataplane cilium
80+
```
81+
82+
### Option 2: Assign IP addresses from a virtual network
7283

7384
Run the following commands to create a resource group and virtual network with a subnet for nodes and a subnet for pods.
7485

@@ -98,18 +109,6 @@ az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
98109
> [!NOTE]
99110
> The `--network-dataplane cilium` flag replaces the deprecated `--enable-ebpf-dataplane` flag used in earlier versions of the aks-preview CLI extension.
100111
101-
### Option 2: Assign IP addresses from an overlay network
102-
103-
Use the following commands to create a cluster with an overlay network and Cilium. Replace the values for `<clusterName>`, `<resourceGroupName>`, and `<location>`:
104-
105-
```azurecli-interactive
106-
az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
107-
--network-plugin azure \
108-
--network-plugin-mode overlay \
109-
--pod-cidr 192.168.0.0/16 \
110-
--network-dataplane cilium
111-
```
112-
113112
## Upgrade an existing cluster to Azure CNI Powered by Cilium
114113

115114
> [!NOTE]

0 commit comments

Comments
 (0)