@@ -8,18 +8,24 @@ AZIMG = mcr.microsoft.com/azure-cli
8
8
AZCLI ?= docker run --rm -v $(AZCFG ) :/root/.azure -v $(KUBECFG ) :/root/.kube -v $(SSH ) :/root/.ssh -v $(PWD ) :/root/tmpsrc $(AZIMG ) az
9
9
10
10
# overrideable defaults
11
- AUTOUPGRADE ?= patch
12
- K8S_VER ?= 1.29
13
- NODE_COUNT ?= 2
14
- NODE_COUNT_WIN ?= $(NODE_COUNT )
15
- NODEUPGRADE ?= NodeImage
16
- OS ?= linux # Used to signify if you want to bring up a windows nodePool on byocni clusters
17
- OS_SKU ?= Ubuntu
18
- OS_SKU_WIN ?= Windows2022
19
- REGION ?= westus2
20
- VM_SIZE ?= Standard_B2s
21
- VM_SIZE_WIN ?= Standard_B2s
22
- LTS ?= true
11
+ AUTOUPGRADE ?= patch
12
+ K8S_VER ?= 1.29
13
+ NODE_COUNT ?= 2
14
+ NODE_COUNT_WIN ?= $(NODE_COUNT )
15
+ NODEUPGRADE ?= NodeImage
16
+ OS ?= linux # Used to signify if you want to bring up a windows nodePool on byocni clusters
17
+ OS_SKU ?= Ubuntu
18
+ OS_SKU_WIN ?= Windows2022
19
+ REGION ?= westus2
20
+ VM_SIZE ?= Standard_B2s
21
+ VM_SIZE_WIN ?= Standard_B2s
22
+ LTS ?= true
23
+ IP_TAG ?= FirstPartyUsage=/NonProd
24
+ IP_PREFIX ?= serviceTaggedIp
25
+ PUBLIC_IP_ID ?= /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/publicIPAddresses
26
+ PUBLIC_IPv4 ?= $(PUBLIC_IP_ID ) /$(IP_PREFIX ) -$(CLUSTER ) -v4
27
+ PUBLIC_IPv6 ?= $(PUBLIC_IP_ID ) /$(IP_PREFIX ) -$(CLUSTER ) -v6
28
+ KUBE_PROXY_JSON_PATH ?= ./kube-proxy.json
23
29
24
30
# overrideable variables
25
31
SUB ?= $(AZURE_SUBSCRIPTION )
@@ -50,6 +56,23 @@ azcfg: ## Set the $AZCLI to use aks-preview
50
56
@$(AZCLI ) extension add --name aks-preview --yes
51
57
@$(AZCLI ) extension update --name aks-preview
52
58
59
+ ip :
60
+ $(AZCLI ) network public-ip create --name $(IP_PREFIX ) -$(CLUSTER ) -$(IPVERSION ) \
61
+ --resource-group $(GROUP ) \
62
+ --allocation-method Static \
63
+ --ip-tags $(IP_TAG ) \
64
+ --location $(REGION ) \
65
+ --sku Standard \
66
+ --tier Regional \
67
+ --version IP$(IPVERSION )
68
+
69
+ ipv4 :
70
+ @$(MAKE ) ip IPVERSION=v4
71
+
72
+ ipv6 :
73
+ @$(MAKE ) ip IPVERSION=v6
74
+
75
+
53
76
set-kubeconf : # # Adds the kubeconf for $CLUSTER
54
77
$(AZCLI ) aks get-credentials -n $(CLUSTER ) -g $(GROUP )
55
78
@@ -75,6 +98,7 @@ vars: ## Show the input vars configured for the cluster commands
75
98
@echo LTS=$(if $(LTS ) ,$(LTS ) ,empty)
76
99
77
100
101
+
78
102
# #@ SWIFT Infra
79
103
80
104
rg-up : # # Create resource group
@@ -97,21 +121,20 @@ overlay-net-up: ## Create vnet, nodenet subnets
97
121
$(AZCLI ) network vnet create -g $(GROUP ) -l $(REGION ) --name $(VNET ) --address-prefixes 10.0.0.0/8 -o none
98
122
$(AZCLI ) network vnet subnet create -g $(GROUP ) --vnet-name $(VNET ) --name nodenet --address-prefix 10.10.0.0/16 -o none
99
123
100
-
101
124
# #@ AKS Clusters
102
125
103
126
byocni-up : swift-byocni-up # # Alias to swift-byocni-up
104
127
cilium-up : swift-cilium-up # # Alias to swift-cilium-up
105
128
up : swift-up # # Alias to swift-up
106
129
107
- overlay-byocni-up : rg-up overlay-net-up # # Brings up an Overlay BYO CNI cluster
130
+ overlay-byocni-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay BYO CNI cluster
108
131
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
109
132
--auto-upgrade-channel $(AUTOUPGRADE ) \
110
133
--node-os-upgrade-channel $(NODEUPGRADE ) \
111
134
--kubernetes-version $(K8S_VER ) \
112
135
--node-count $(NODE_COUNT ) \
113
136
--node-vm-size $(VM_SIZE ) \
114
- --load-balancer-sku standard \
137
+ --load-balancer-outbound-ips $( PUBLIC_IPv4 ) \
115
138
--network-plugin none \
116
139
--network-plugin-mode overlay \
117
140
--pod-cidr 192.168.0.0/16 \
@@ -125,13 +148,14 @@ ifeq ($(OS),windows)
125
148
endif
126
149
@$(MAKE) set-kubeconf
127
150
128
- overlay-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up an Overlay BYO CNI cluster without kube-proxy
151
+ overlay-byocni-nokubeproxy-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay BYO CNI cluster without kube-proxy
129
152
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
130
153
--auto-upgrade-channel $(AUTOUPGRADE ) \
131
154
--node-os-upgrade-channel $(NODEUPGRADE ) \
132
155
--kubernetes-version $(K8S_VER ) \
133
156
--node-count $(NODE_COUNT ) \
134
157
--node-vm-size $(VM_SIZE ) \
158
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
135
159
--network-plugin none \
136
160
--network-plugin-mode overlay \
137
161
--pod-cidr 192.168.0.0/16 \
@@ -142,13 +166,14 @@ overlay-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an Overlay BYO
142
166
--yes
143
167
@$(MAKE ) set-kubeconf
144
168
145
- overlay-cilium-up : rg-up overlay-net-up # # Brings up an Overlay Cilium cluster
169
+ overlay-cilium-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay Cilium cluster
146
170
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
147
171
--auto-upgrade-channel $(AUTOUPGRADE ) \
148
172
--node-os-upgrade-channel $(NODEUPGRADE ) \
149
173
--kubernetes-version $(K8S_VER ) \
150
174
--node-count $(NODE_COUNT ) \
151
175
--node-vm-size $(VM_SIZE ) \
176
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
152
177
--network-plugin azure \
153
178
--network-dataplane cilium \
154
179
--network-plugin-mode overlay \
@@ -159,13 +184,14 @@ overlay-cilium-up: rg-up overlay-net-up ## Brings up an Overlay Cilium cluster
159
184
--yes
160
185
@$(MAKE ) set-kubeconf
161
186
162
- overlay-up : rg-up overlay-net-up # # Brings up an Overlay AzCNI cluster
187
+ overlay-up : rg-up ipv4 overlay-net-up # # Brings up an Overlay AzCNI cluster
163
188
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
164
189
--auto-upgrade-channel $(AUTOUPGRADE ) \
165
190
--node-os-upgrade-channel $(NODEUPGRADE ) \
166
191
--kubernetes-version $(K8S_VER ) \
167
192
--node-count $(NODE_COUNT ) \
168
193
--node-vm-size $(VM_SIZE ) \
194
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
169
195
--network-plugin azure \
170
196
--network-plugin-mode overlay \
171
197
--pod-cidr 192.168.0.0/16 \
@@ -175,14 +201,14 @@ overlay-up: rg-up overlay-net-up ## Brings up an Overlay AzCNI cluster
175
201
--yes
176
202
@$(MAKE ) set-kubeconf
177
203
178
- swift-byocni-up : rg-up swift-net-up # # Bring up a SWIFT BYO CNI cluster
204
+ swift-byocni-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT BYO CNI cluster
179
205
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
180
206
--auto-upgrade-channel $(AUTOUPGRADE ) \
181
207
--node-os-upgrade-channel $(NODEUPGRADE ) \
182
208
--kubernetes-version $(K8S_VER ) \
183
209
--node-count $(NODE_COUNT ) \
184
210
--node-vm-size $(VM_SIZE ) \
185
- --load-balancer-sku standard \
211
+ --load-balancer-outbound-ips $( PUBLIC_IPv4 ) \
186
212
--network-plugin none \
187
213
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
188
214
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -195,13 +221,14 @@ ifeq ($(OS),windows)
195
221
endif
196
222
@$(MAKE) set-kubeconf
197
223
198
- swift-byocni-nokubeproxy-up : rg-up swift-net-up # # Bring up a SWIFT BYO CNI cluster without kube-proxy
224
+ 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
199
225
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
200
226
--auto-upgrade-channel $(AUTOUPGRADE ) \
201
227
--node-os-upgrade-channel $(NODEUPGRADE ) \
202
228
--kubernetes-version $(K8S_VER ) \
203
229
--node-count $(NODE_COUNT ) \
204
230
--node-vm-size $(VM_SIZE ) \
231
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
205
232
--network-plugin none \
206
233
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
207
234
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -212,13 +239,14 @@ swift-byocni-nokubeproxy-up: rg-up swift-net-up ## Bring up a SWIFT BYO CNI clus
212
239
--yes
213
240
@$(MAKE ) set-kubeconf
214
241
215
- swift-cilium-up : rg-up swift-net-up # # Bring up a SWIFT Cilium cluster
242
+ swift-cilium-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT Cilium cluster
216
243
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
217
244
--auto-upgrade-channel $(AUTOUPGRADE ) \
218
245
--node-os-upgrade-channel $(NODEUPGRADE ) \
219
246
--kubernetes-version $(K8S_VER ) \
220
247
--node-count $(NODE_COUNT ) \
221
248
--node-vm-size $(VM_SIZE ) \
249
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
222
250
--network-plugin azure \
223
251
--network-dataplane cilium \
224
252
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CiliumDataplanePreview \
@@ -229,13 +257,14 @@ swift-cilium-up: rg-up swift-net-up ## Bring up a SWIFT Cilium cluster
229
257
--yes
230
258
@$(MAKE ) set-kubeconf
231
259
232
- swift-up : rg-up swift-net-up # # Bring up a SWIFT AzCNI cluster
260
+ swift-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT AzCNI cluster
233
261
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
234
262
--auto-upgrade-channel $(AUTOUPGRADE ) \
235
263
--node-os-upgrade-channel $(NODEUPGRADE ) \
236
264
--kubernetes-version $(K8S_VER ) \
237
265
--node-count $(NODE_COUNT ) \
238
266
--node-vm-size $(VM_SIZE ) \
267
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
239
268
--network-plugin azure \
240
269
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
241
270
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -244,39 +273,42 @@ swift-up: rg-up swift-net-up ## Bring up a SWIFT AzCNI cluster
244
273
--yes
245
274
@$(MAKE ) set-kubeconf
246
275
247
- swiftv2-multitenancy-cluster-up : rg-up
276
+ swiftv2-multitenancy-cluster-up : rg-up ipv4
248
277
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
249
278
--network-plugin azure \
250
279
--network-plugin-mode overlay \
251
280
--kubernetes-version 1.28 \
252
281
--nodepool-name " mtapool" \
253
282
--node-vm-size $(VM_SIZE ) \
254
283
--node-count 2 \
284
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
255
285
--nodepool-tags fastpathenabled=true \
256
286
--no-ssh-key \
257
287
$(LTS ) \
258
288
--yes
259
289
@$(MAKE ) set-kubeconf
260
290
261
- 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
262
292
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
263
293
--network-plugin azure \
264
294
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
265
295
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
296
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
266
297
--no-ssh-key \
267
298
--yes
268
299
@$(MAKE ) set-kubeconf
269
300
270
301
# The below Vnet Scale clusters are currently only in private preview and available with Kubernetes 1.28
271
302
# These AKS clusters can only be created in a limited subscription listed here:
272
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
273
- 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
274
305
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
275
306
--auto-upgrade-channel $(AUTOUPGRADE ) \
276
307
--node-os-upgrade-channel $(NODEUPGRADE ) \
277
308
--kubernetes-version $(K8S_VER ) \
278
309
--node-count $(NODE_COUNT ) \
279
310
--node-vm-size $(VM_SIZE ) \
311
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
280
312
--network-plugin none \
281
313
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
282
314
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -286,13 +318,14 @@ vnetscale-swift-byocni-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
286
318
--yes
287
319
@$(MAKE ) set-kubeconf
288
320
289
- vnetscale-swift-byocni-nokubeproxy-up : rg-up vnetscale-swift-net-up # # Bring up a Vnet Scale SWIFT 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
290
322
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
291
323
--auto-upgrade-channel $(AUTOUPGRADE ) \
292
324
--node-os-upgrade-channel $(NODEUPGRADE ) \
293
325
--kubernetes-version $(K8S_VER ) \
294
326
--node-count $(NODE_COUNT ) \
295
327
--node-vm-size $(VM_SIZE ) \
328
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
296
329
--network-plugin none \
297
330
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
298
331
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
@@ -303,13 +336,14 @@ vnetscale-swift-byocni-nokubeproxy-up: rg-up vnetscale-swift-net-up ## Bring up
303
336
--yes
304
337
@$(MAKE ) set-kubeconf
305
338
306
- 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
307
340
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
308
341
--auto-upgrade-channel $(AUTOUPGRADE ) \
309
342
--node-os-upgrade-channel $(NODEUPGRADE ) \
310
343
--kubernetes-version $(K8S_VER ) \
311
344
--node-count $(NODE_COUNT ) \
312
345
--node-vm-size $(VM_SIZE ) \
346
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
313
347
--network-plugin azure \
314
348
--network-dataplane cilium \
315
349
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CiliumDataplanePreview \
@@ -320,27 +354,29 @@ vnetscale-swift-cilium-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
320
354
--yes
321
355
@$(MAKE ) set-kubeconf
322
356
323
- 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
324
358
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
325
359
--auto-upgrade-channel $(AUTOUPGRADE ) \
326
360
--node-os-upgrade-channel $(NODEUPGRADE ) \
327
361
--kubernetes-version $(K8S_VER ) \
328
362
--node-count $(NODE_COUNT ) \
329
363
--node-vm-size $(VM_SIZE ) \
364
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
330
365
--network-plugin azure \
331
366
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
332
367
--pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
333
368
--no-ssh-key \
334
369
--yes
335
370
@$(MAKE ) set-kubeconf
336
371
337
- windows-cniv1-up : rg-up overlay-net-up # # Bring up a Windows CNIv1 cluster
372
+ windows-cniv1-up : rg-up ipv4 overlay-net-up # # Bring up a Windows CNIv1 cluster
338
373
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
339
374
--auto-upgrade-channel $(AUTOUPGRADE ) \
340
375
--node-os-upgrade-channel $(NODEUPGRADE ) \
341
376
--kubernetes-version $(K8S_VER ) \
342
377
--node-count $(NODE_COUNT ) \
343
378
--node-vm-size $(VM_SIZE ) \
379
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
344
380
--network-plugin azure \
345
381
--windows-admin-password $(WINDOWS_PASSWORD ) \
346
382
--windows-admin-username $(WINDOWS_USERNAME ) \
@@ -351,13 +387,14 @@ windows-cniv1-up: rg-up overlay-net-up ## Bring up a Windows CNIv1 cluster
351
387
@$(MAKE ) windows-nodepool-up
352
388
@$(MAKE ) set-kubeconf
353
389
354
- linux-cniv1-up : rg-up overlay-net-up # # Bring up a Linux CNIv1 cluster
390
+ linux-cniv1-up : rg-up ipv4 overlay-net-up # # Bring up a Linux CNIv1 cluster
355
391
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
356
392
--auto-upgrade-channel $(AUTOUPGRADE ) \
357
393
--node-os-upgrade-channel $(NODEUPGRADE ) \
358
394
--kubernetes-version $(K8S_VER ) \
359
395
--node-count $(NODE_COUNT ) \
360
396
--node-vm-size $(VM_SIZE ) \
397
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
361
398
--max-pods 250 \
362
399
--network-plugin azure \
363
400
--vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
@@ -367,13 +404,14 @@ linux-cniv1-up: rg-up overlay-net-up ## Bring up a Linux CNIv1 cluster
367
404
--yes
368
405
@$(MAKE ) set-kubeconf
369
406
370
- dualstack-overlay-up : rg-up overlay-net-up # # Brings up an dualstack Overlay cluster with Linux node only
407
+ dualstack-overlay-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up an dualstack Overlay cluster with Linux node only
371
408
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
372
409
--auto-upgrade-channel $(AUTOUPGRADE ) \
373
410
--node-os-upgrade-channel $(NODEUPGRADE ) \
374
411
--kubernetes-version $(K8S_VER ) \
375
412
--node-count $(NODE_COUNT ) \
376
413
--node-vm-size $(VM_SIZE ) \
414
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
377
415
--network-plugin azure \
378
416
--network-plugin-mode overlay \
379
417
--subscription $(SUB ) \
@@ -384,13 +422,14 @@ dualstack-overlay-up: rg-up overlay-net-up ## Brings up an dualstack Overlay clu
384
422
--yes
385
423
@$(MAKE ) set-kubeconf
386
424
387
- dualstack-overlay-byocni-up : rg-up overlay-net-up # # Brings up an dualstack Overlay BYO CNI cluster
425
+ dualstack-overlay-byocni-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up an dualstack Overlay BYO CNI cluster
388
426
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
389
427
--auto-upgrade-channel $(AUTOUPGRADE ) \
390
428
--node-os-upgrade-channel $(NODEUPGRADE ) \
391
429
--kubernetes-version $(K8S_VER ) \
392
430
--node-count $(NODE_COUNT ) \
393
431
--node-vm-size $(VM_SIZE ) \
432
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
394
433
--network-plugin none \
395
434
--network-plugin-mode overlay \
396
435
--subscription $(SUB ) \
@@ -401,13 +440,14 @@ dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Over
401
440
--yes
402
441
@$(MAKE ) set-kubeconf
403
442
404
- cilium-dualstack-up : rg-up overlay-net-up # # Brings up a Cilium Dualstack Overlay cluster with Linux node only
443
+ cilium-dualstack-up : rg-up ipv4 ipv6 overlay-net-up # # Brings up a Cilium Dualstack Overlay cluster with Linux node only
405
444
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
406
445
--auto-upgrade-channel $(AUTOUPGRADE ) \
407
446
--node-os-upgrade-channel $(NODEUPGRADE ) \
408
447
--kubernetes-version $(K8S_VER ) \
409
448
--node-count $(NODE_COUNT ) \
410
449
--node-vm-size $(VM_SIZE ) \
450
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
411
451
--network-plugin azure \
412
452
--network-plugin-mode overlay \
413
453
--network-dataplane cilium \
@@ -419,13 +459,14 @@ cilium-dualstack-up: rg-up overlay-net-up ## Brings up a Cilium Dualstack Overla
419
459
--yes
420
460
@$(MAKE ) set-kubeconf
421
461
422
- dualstack-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up a Dualstack overlay BYOCNI cluster with Linux node only and no kube-proxy
462
+ 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
423
463
$(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
424
464
--auto-upgrade-channel $(AUTOUPGRADE ) \
425
465
--node-os-upgrade-channel $(NODEUPGRADE ) \
426
466
--kubernetes-version $(K8S_VER ) \
427
467
--node-count $(NODE_COUNT ) \
428
468
--node-vm-size $(VM_SIZE ) \
469
+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) ,$(PUBLIC_IPv6 ) \
429
470
--network-plugin none \
430
471
--network-plugin-mode overlay \
431
472
--subscription $(SUB ) \
0 commit comments