@@ -19,6 +19,11 @@ OS_SKU_WIN ?= Windows2022
19
19
REGION ?= westus2
20
20
VM_SIZE ?= Standard_B2s
21
21
VM_SIZE_WIN ?= Standard_B2s
22
+ IP_TAG ?= FirstPartyUsage=/DelegatedNetworkControllerTest
23
+ IP_PREFIX ?= serviceTaggedIp
24
+ PUBLIC_IP_ID ?= /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/publicIPAddresses
25
+ PUBLIC_IPv4 ?= $(PUBLIC_IP_ID ) /$(IP_PREFIX ) -$(CLUSTER ) -v4
26
+ PUBLIC_IPv6 ?= $(PUBLIC_IP_ID ) /$(IP_PREFIX ) -$(CLUSTER ) -v6
22
27
KUBE_PROXY_JSON_PATH ?= ./kube-proxy.json
23
28
24
29
# overrideable variables
@@ -43,6 +48,23 @@ azcfg: ## Set the $AZCLI to use aks-preview
43
48
@$(AZCLI ) extension add --name aks-preview --yes
44
49
@$(AZCLI ) extension update --name aks-preview
45
50
51
+ ip :
52
+ $(AZCLI ) network public-ip create --name $(IP_PREFIX ) -$(CLUSTER ) -$(IPVERSION ) \
53
+ --resource-group $(GROUP ) \
54
+ --allocation-method Static \
55
+ --ip-tags $(IP_TAG ) \
56
+ --location $(REGION ) \
57
+ --sku Standard \
58
+ --tier Regional \
59
+ --version IP$(IPVERSION )
60
+
61
+ ipv4 :
62
+ @$(MAKE ) ip IPVERSION=v4
63
+
64
+ ipv6 :
65
+ @$(MAKE ) ip IPVERSION=v6
66
+
67
+
46
68
set-kubeconf : # # Adds the kubeconf for $CLUSTER
47
69
$(AZCLI ) aks get-credentials -n $(CLUSTER ) -g $(GROUP )
48
70
@@ -90,23 +112,22 @@ overlay-net-up: ## Create vnet, nodenet subnets
90
112
$(AZCLI ) network vnet create -g $(GROUP ) -l $(REGION ) --name $(VNET ) --address-prefixes 10.0.0.0/8 -o none
91
113
$(AZCLI ) network vnet subnet create -g $(GROUP ) --vnet-name $(VNET ) --name nodenet --address-prefix 10.10.0.0/16 -o none
92
114
93
-
94
115
# #@ AKS Clusters
95
116
96
117
byocni-up : swift-byocni-up # # Alias to swift-byocni-up
97
118
cilium-up : swift-cilium-up # # Alias to swift-cilium-up
98
119
up : swift-up # # Alias to swift-up
99
120
100
121
101
- nodesubnet-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up an NodeSubnet BYO CNI cluster without kube-proxy
122
+ nodesubnet-byocni-nokubeproxy-up : rg-up ipv4 overlay-net-up # # Brings up an NodeSubnet BYO CNI cluster without kube-proxy
102
123
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
103
124
--auto-upgrade-channel $(AUTOUPGRADE ) \
104
125
--node-os-upgrade-channel $(NODEUPGRADE ) \
105
126
--kubernetes-version $(K8S_VER ) \
106
127
--node-count $(NODE_COUNT ) \
107
128
--node-vm-size $(VM_SIZE ) \
108
- --load-balancer-sku standard \
109
129
--max-pods 250 \
130
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
110
131
--network-plugin none \
111
132
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
112
133
--os-sku $(OS_SKU ) \
@@ -115,14 +136,14 @@ nodesubnet-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an NodeSubne
115
136
--yes
116
137
@$(MAKE ) set-kubeconf
117
138
118
- overlay-byocni-up : rg-up overlay-net-up # # Brings up a Linux Overlay BYO CNI cluster
139
+ overlay-byocni-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay BYO CNI cluster
119
140
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
120
141
--auto-upgrade-channel $(AUTOUPGRADE ) \
121
142
--node-os-upgrade-channel $(NODEUPGRADE ) \
122
143
--kubernetes-version $(K8S_VER ) \
123
144
--node-count $(NODE_COUNT ) \
124
145
--node-vm-size $(VM_SIZE ) \
125
- --load-balancer-sku standard \
146
+ --load-balancer-outbound-ips $( PUBLIC_IPv4 ) \
126
147
--network-plugin none \
127
148
--network-plugin-mode overlay \
128
149
--pod-cidr 192.168.0.0/16 \
@@ -135,13 +156,14 @@ ifeq ($(OS),windows)
135
156
$(MAKE) windows-nodepool-up
136
157
endif
137
158
138
- overlay-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up an Overlay BYO CNI cluster without kube-proxy
159
+ overlay-byocni-nokubeproxy-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay BYO CNI cluster without kube-proxy
139
160
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
140
161
--auto-upgrade-channel $(AUTOUPGRADE ) \
141
162
--node-os-upgrade-channel $(NODEUPGRADE ) \
142
163
--kubernetes-version $(K8S_VER ) \
143
164
--node-count $(NODE_COUNT ) \
144
165
--node-vm-size $(VM_SIZE ) \
166
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
145
167
--network-plugin none \
146
168
--network-plugin-mode overlay \
147
169
--pod-cidr 192.168.0.0/16 \
@@ -151,13 +173,14 @@ overlay-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an Overlay BYO
151
173
--yes
152
174
@$(MAKE ) set-kubeconf
153
175
154
- overlay-cilium-up : rg-up overlay-net-up # # Brings up an Overlay Cilium cluster
176
+ overlay-cilium-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay Cilium cluster
155
177
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
156
178
--auto-upgrade-channel $(AUTOUPGRADE ) \
157
179
--node-os-upgrade-channel $(NODEUPGRADE ) \
158
180
--kubernetes-version $(K8S_VER ) \
159
181
--node-count $(NODE_COUNT ) \
160
182
--node-vm-size $(VM_SIZE ) \
183
+ --load-balancer-outbound-ips (PUBLIC_IPv4) \
161
184
--network-plugin azure \
162
185
--network-dataplane cilium \
163
186
--network-plugin-mode overlay \
@@ -167,13 +190,14 @@ overlay-cilium-up: rg-up overlay-net-up ## Brings up an Overlay Cilium cluster
167
190
--yes
168
191
@$(MAKE ) set-kubeconf
169
192
170
- overlay-up : rg-up overlay-net-up # # Brings up an Overlay AzCNI cluster
193
+ overlay-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay AzCNI cluster
171
194
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
172
195
--auto-upgrade-channel $(AUTOUPGRADE ) \
173
196
--node-os-upgrade-channel $(NODEUPGRADE ) \
174
197
--kubernetes-version $(K8S_VER ) \
175
198
--node-count $(NODE_COUNT ) \
176
199
--node-vm-size $(VM_SIZE ) \
200
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
177
201
--network-plugin azure \
178
202
--network-plugin-mode overlay \
179
203
--pod-cidr 192.168.0.0/16 \
@@ -182,14 +206,14 @@ overlay-up: rg-up overlay-net-up ## Brings up an Overlay AzCNI cluster
182
206
--yes
183
207
@$(MAKE ) set-kubeconf
184
208
185
- swift-byocni-up : rg-up swift-net-up # # Bring up a SWIFT (Podsubnet) BYO CNI cluster
209
+ swift-byocni-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT BYO CNI cluster
186
210
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
187
211
--auto-upgrade-channel $(AUTOUPGRADE ) \
188
212
--node-os-upgrade-channel $(NODEUPGRADE ) \
189
213
--kubernetes-version $(K8S_VER ) \
190
214
--node-count $(NODE_COUNT ) \
191
215
--node-vm-size $(VM_SIZE ) \
192
- --load-balancer-sku standard \
216
+ --load-balancer-outbound-ips $( PUBLIC_IPv4 ) \
193
217
--network-plugin none \
194
218
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
195
219
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -201,13 +225,14 @@ ifeq ($(OS),windows)
201
225
endif
202
226
@$(MAKE) set-kubeconf
203
227
204
- swift-byocni-nokubeproxy-up : rg-up swift-net-up # # Bring up a SWIFT (Podsubnet) BYO CNI cluster without kube-proxy
228
+ swift-byocni-nokubeproxy-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT BYO CNI cluster without kube-proxy, add managed identity and public ip
205
229
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
206
230
--auto-upgrade-channel $(AUTOUPGRADE ) \
207
231
--node-os-upgrade-channel $(NODEUPGRADE ) \
208
232
--kubernetes-version $(K8S_VER ) \
209
233
--node-count $(NODE_COUNT ) \
210
234
--node-vm-size $(VM_SIZE ) \
235
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
211
236
--network-plugin none \
212
237
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
213
238
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -217,13 +242,14 @@ swift-byocni-nokubeproxy-up: rg-up swift-net-up ## Bring up a SWIFT (Podsubnet)
217
242
--yes
218
243
@$(MAKE ) set-kubeconf
219
244
220
- swift-cilium-up : rg-up swift-net-up # # Bring up a SWIFT Cilium cluster
245
+ swift-cilium-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT Cilium cluster
221
246
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
222
247
--auto-upgrade-channel $(AUTOUPGRADE ) \
223
248
--node-os-upgrade-channel $(NODEUPGRADE ) \
224
249
--kubernetes-version $(K8S_VER ) \
225
250
--node-count $(NODE_COUNT ) \
226
251
--node-vm-size $(VM_SIZE ) \
252
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
227
253
--network-plugin azure \
228
254
--network-dataplane cilium \
229
255
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CiliumDataplanePreview \
@@ -233,52 +259,56 @@ swift-cilium-up: rg-up swift-net-up ## Bring up a SWIFT Cilium cluster
233
259
--yes
234
260
@$(MAKE ) set-kubeconf
235
261
236
- swift-up : rg-up swift-net-up # # Bring up a SWIFT AzCNI cluster
262
+ swift-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT AzCNI cluster
237
263
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
238
264
--auto-upgrade-channel $(AUTOUPGRADE ) \
239
265
--node-os-upgrade-channel $(NODEUPGRADE ) \
240
266
--kubernetes-version $(K8S_VER ) \
241
267
--node-count $(NODE_COUNT ) \
242
268
--node-vm-size $(VM_SIZE ) \
269
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
243
270
--network-plugin azure \
244
271
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
245
272
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
246
273
--no-ssh-key \
247
274
--yes
248
275
@$(MAKE ) set-kubeconf
249
276
250
- swiftv2-multitenancy-cluster-up : rg-up
277
+ swiftv2-multitenancy-cluster-up : rg-up ipv4
251
278
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
252
279
--network-plugin azure \
253
280
--network-plugin-mode overlay \
254
281
--kubernetes-version $(K8S_VER ) \
255
282
--nodepool-name " mtapool" \
256
283
--node-vm-size $(VM_SIZE ) \
257
284
--node-count 2 \
285
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
258
286
--nodepool-tags fastpathenabled=true \
259
287
--no-ssh-key \
260
288
--yes
261
289
@$(MAKE ) set-kubeconf
262
290
263
- swiftv2-dummy-cluster-up : rg-up swift-net-up # # Bring up a SWIFT AzCNI cluster
291
+ swiftv2-dummy-cluster-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT AzCNI cluster
264
292
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
265
293
--network-plugin azure \
266
294
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
267
295
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
296
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
268
297
--no-ssh-key \
269
298
--yes
270
299
@$(MAKE ) set-kubeconf
271
300
272
301
# The below Vnet Scale clusters are currently only in private preview and available with Kubernetes 1.28
273
302
# These AKS clusters can only be created in a limited subscription listed here:
274
303
# https://dev.azure.com/msazure/CloudNativeCompute/_git/aks-rp?path=/resourceprovider/server/microsoft.com/containerservice/flags/network_flags.go&version=GBmaster&line=134&lineEnd=135&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents
275
- vnetscale-swift-byocni-up : rg-up vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT BYO CNI cluster
304
+ vnetscale-swift-byocni-up : rg-up ipv4 vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT BYO CNI cluster
276
305
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
277
306
--auto-upgrade-channel $(AUTOUPGRADE ) \
278
307
--node-os-upgrade-channel $(NODEUPGRADE ) \
279
308
--kubernetes-version $(K8S_VER ) \
280
309
--node-count $(NODE_COUNT ) \
281
310
--node-vm-size $(VM_SIZE ) \
311
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
282
312
--network-plugin none \
283
313
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
284
314
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -288,13 +318,14 @@ vnetscale-swift-byocni-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
288
318
--yes
289
319
@$(MAKE ) set-kubeconf
290
320
291
- vnetscale-swift-byocni-nokubeproxy-up : rg-up vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT (Podsubnet) BYO CNI cluster without kube-proxy
321
+ vnetscale-swift-byocni-nokubeproxy-up : rg-up ipv4 vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT BYO CNI cluster without kube-proxy
292
322
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
293
323
--auto-upgrade-channel $(AUTOUPGRADE ) \
294
324
--node-os-upgrade-channel $(NODEUPGRADE ) \
295
325
--kubernetes-version $(K8S_VER ) \
296
326
--node-count $(NODE_COUNT ) \
297
327
--node-vm-size $(VM_SIZE ) \
328
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
298
329
--network-plugin none \
299
330
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
300
331
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -305,13 +336,14 @@ vnetscale-swift-byocni-nokubeproxy-up: rg-up vnetscale-swift-net-up ## Bring up
305
336
--yes
306
337
@$(MAKE ) set-kubeconf
307
338
308
- vnetscale-swift-cilium-up : rg-up vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT Cilium cluster
339
+ vnetscale-swift-cilium-up : rg-up ipv4 vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT Cilium cluster
309
340
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
310
341
--auto-upgrade-channel $(AUTOUPGRADE ) \
311
342
--node-os-upgrade-channel $(NODEUPGRADE ) \
312
343
--kubernetes-version $(K8S_VER ) \
313
344
--node-count $(NODE_COUNT ) \
314
345
--node-vm-size $(VM_SIZE ) \
346
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
315
347
--network-plugin azure \
316
348
--network-dataplane cilium \
317
349
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CiliumDataplanePreview \
@@ -322,13 +354,14 @@ vnetscale-swift-cilium-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
322
354
--yes
323
355
@$(MAKE ) set-kubeconf
324
356
325
- vnetscale-swift-up : rg-up vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT AzCNI cluster
357
+ vnetscale-swift-up : rg-up ipv4 vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT AzCNI cluster
326
358
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
327
359
--auto-upgrade-channel $(AUTOUPGRADE ) \
328
360
--node-os-upgrade-channel $(NODEUPGRADE ) \
329
361
--kubernetes-version $(K8S_VER ) \
330
362
--node-count $(NODE_COUNT ) \
331
363
--node-vm-size $(VM_SIZE ) \
364
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
332
365
--network-plugin azure \
333
366
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
334
367
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -337,13 +370,14 @@ vnetscale-swift-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale SWIFT
337
370
--yes
338
371
@$(MAKE ) set-kubeconf
339
372
340
- cniv1-up : rg-up overlay-net-up # # Bring up a CNIv1 cluster
373
+ cniv1-up : rg-up ipv4 overlay-net-up # # Bring up a CNIv1 cluster
341
374
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
342
375
--auto-upgrade-channel $(AUTOUPGRADE ) \
343
376
--node-os-upgrade-channel $(NODEUPGRADE ) \
344
377
--kubernetes-version $(K8S_VER ) \
345
378
--node-count $(NODE_COUNT ) \
346
379
--node-vm-size $(VM_SIZE ) \
380
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
347
381
--max-pods 250 \
348
382
--network-plugin azure \
349
383
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
@@ -355,13 +389,14 @@ ifeq ($(OS),windows)
355
389
$(MAKE) windows-nodepool-up
356
390
endif
357
391
358
- dualstack-overlay-up : rg-up overlay-net-up # # Brings up an dualstack Overlay cluster with Linux node only
392
+ dualstack-overlay-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up an dualstack Overlay cluster with Linux node only
359
393
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
360
394
--auto-upgrade-channel $(AUTOUPGRADE ) \
361
395
--node-os-upgrade-channel $(NODEUPGRADE ) \
362
396
--kubernetes-version $(K8S_VER ) \
363
397
--node-count $(NODE_COUNT ) \
364
398
--node-vm-size $(VM_SIZE ) \
399
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
365
400
--network-plugin azure \
366
401
--network-plugin-mode overlay \
367
402
--subscription $(SUB ) \
@@ -371,13 +406,14 @@ dualstack-overlay-up: rg-up overlay-net-up ## Brings up an dualstack Overlay clu
371
406
--yes
372
407
@$(MAKE ) set-kubeconf
373
408
374
- dualstack-overlay-byocni-up : rg-up overlay-net-up # # Brings up an dualstack Overlay BYO CNI cluster
409
+ dualstack-overlay-byocni-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up an dualstack Overlay BYO CNI cluster
375
410
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
376
411
--auto-upgrade-channel $(AUTOUPGRADE ) \
377
412
--node-os-upgrade-channel $(NODEUPGRADE ) \
378
413
--kubernetes-version $(K8S_VER ) \
379
414
--node-count $(NODE_COUNT ) \
380
415
--node-vm-size $(VM_SIZE ) \
416
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
381
417
--network-plugin none \
382
418
--network-plugin-mode overlay \
383
419
--subscription $(SUB ) \
@@ -390,13 +426,14 @@ ifeq ($(OS),windows)
390
426
$(MAKE) windows-nodepool-up
391
427
endif
392
428
393
- cilium-dualstack-up : rg-up overlay-net-up # # Brings up a Cilium Dualstack Overlay cluster with Linux node only
429
+ cilium-dualstack-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up a Cilium Dualstack Overlay cluster with Linux node only
394
430
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
395
431
--auto-upgrade-channel $(AUTOUPGRADE ) \
396
432
--node-os-upgrade-channel $(NODEUPGRADE ) \
397
433
--kubernetes-version $(K8S_VER ) \
398
434
--node-count $(NODE_COUNT ) \
399
435
--node-vm-size $(VM_SIZE ) \
436
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
400
437
--network-plugin azure \
401
438
--network-plugin-mode overlay \
402
439
--network-dataplane cilium \
@@ -407,13 +444,14 @@ cilium-dualstack-up: rg-up overlay-net-up ## Brings up a Cilium Dualstack Overla
407
444
--yes
408
445
@$(MAKE ) set-kubeconf
409
446
410
- dualstack-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up a Dualstack overlay BYOCNI cluster with Linux node only and no kube-proxy
447
+ dualstack-byocni-nokubeproxy-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up a Dualstack overlay BYOCNI cluster with Linux node only and no kube-proxy
411
448
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
412
449
--auto-upgrade-channel $(AUTOUPGRADE ) \
413
450
--node-os-upgrade-channel $(NODEUPGRADE ) \
414
451
--kubernetes-version $(K8S_VER ) \
415
452
--node-count $(NODE_COUNT ) \
416
453
--node-vm-size $(VM_SIZE ) \
454
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
417
455
--network-plugin none \
418
456
--network-plugin-mode overlay \
419
457
--subscription $(SUB ) \
0 commit comments