You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: articles/aks/azure-cni-powered-by-cilium.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,8 @@ By making use of eBPF programs loaded into the Linux kernel and a more efficient
29
29
30
30
Azure CNI Powered by Cilium can be deployed using two different methods for assigning pod IPs:
31
31
32
-
- Assign IP addresses from a virtual network (similar to existing Azure CNI with Dynamic Pod IP Assignment)
33
-
34
32
- 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)
35
34
36
35
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).
37
36
@@ -68,7 +67,19 @@ Azure CNI powered by Cilium currently has the following limitations:
68
67
69
68
## Create a new AKS Cluster with Azure CNI Powered by Cilium
70
69
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
72
83
73
84
Run the following commands to create a resource group and virtual network with a subnet for nodes and a subnet for pods.
74
85
@@ -98,18 +109,6 @@ az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
98
109
> [!NOTE]
99
110
> The `--network-dataplane cilium` flag replaces the deprecated `--enable-ebpf-dataplane` flag used in earlier versions of the aks-preview CLI extension.
100
111
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
-
113
112
## Upgrade an existing cluster to Azure CNI Powered by Cilium
0 commit comments