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
Copy file name to clipboardExpand all lines: articles/aks/azure-cni-powered-by-cilium.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,10 @@ 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)
35
33
34
+
- Assign IP addresses from a virtual network (similar to existing Azure CNI with Dynamic Pod IP Assignment)
35
+
36
36
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
37
38
38
## Network Policy Enforcement
@@ -68,7 +68,22 @@ Azure CNI powered by Cilium currently has the following limitations:
68
68
69
69
## Create a new AKS Cluster with Azure CNI Powered by Cilium
70
70
71
-
### Option 1: Assign IP addresses from a virtual network
71
+
### Option 1: Assign IP addresses from an overlay network
72
+
73
+
Use the following commands to create a cluster with an overlay network and Cilium. Replace the values for `<clusterName>`, `<resourceGroupName>`, and `<location>`:
74
+
75
+
```azurecli-interactive
76
+
az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
77
+
--network-plugin azure \
78
+
--network-plugin-mode overlay \
79
+
--pod-cidr 192.168.0.0/16 \
80
+
--network-dataplane cilium
81
+
```
82
+
83
+
> [!NOTE]
84
+
> The `--network-dataplane cilium` flag replaces the deprecated `--enable-ebpf-dataplane` flag used in earlier versions of the aks-preview CLI extension.
85
+
86
+
### Option 2: Assign IP addresses from a virtual network
72
87
73
88
Run the following commands to create a resource group and virtual network with a subnet for nodes and a subnet for pods.
74
89
@@ -95,21 +110,6 @@ az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
95
110
--network-dataplane cilium
96
111
```
97
112
98
-
> [!NOTE]
99
-
> The `--network-dataplane cilium` flag replaces the deprecated `--enable-ebpf-dataplane` flag used in earlier versions of the aks-preview CLI extension.
100
-
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
113
## Upgrade an existing cluster to Azure CNI Powered by Cilium
0 commit comments