Skip to content

Commit 2277074

Browse files
committed
add vnet scale cilium stage
1 parent aa71111 commit 2277074

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

.pipelines/pipeline.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,26 @@ stages:
227227
- template: singletenancy/cilium/cilium-e2e-job-template.yaml
228228
parameters:
229229
name: "cilium_e2e"
230-
displayName: Cilium
230+
displayName: Cilium Podsubnet
231231
clusterType: swift-byocni-nokubeproxy-up
232232
clusterName: "ciliume2e"
233233
vmSize: Standard_B2ms
234234
k8sVersion: ""
235235
dependsOn: "containerize"
236236

237+
# Cilium Podsubnet Vnet Scale E2E tests
238+
- template: singletenancy/cilium/cilium-e2e-job-template.yaml
239+
parameters:
240+
name: "cilium_vnetscale_e2e"
241+
displayName: AKS Cilium Podsubnet Vnet Scale Ubuntu
242+
os: linux
243+
clusterType: vnetscale-swift-byocni-nokubeproxy-up
244+
clusterName: "ciliumvscalee2e"
245+
vmSize: Standard_B2ms
246+
k8sVersion: ""
247+
dependsOn: "containerize"
248+
249+
237250
# Cilium Nodesubnet E2E tests
238251
- template: singletenancy/cilium-nodesubnet/cilium-nodesubnet-e2e-job-template.yaml
239252
parameters:
@@ -400,6 +413,7 @@ stages:
400413
- azure_overlay_stateless_e2e
401414
- aks_swift_e2e
402415
- cilium_e2e
416+
- cilium_vnetscale_e2e
403417
- cilium_nodesubnet_e2e
404418
- cilium_overlay_e2e
405419
- cilium_h_overlay_e2e
@@ -422,6 +436,10 @@ stages:
422436
name: cilium_e2e
423437
clusterName: "ciliume2e"
424438
region: $(REGION_AKS_CLUSTER_TEST)
439+
cilium_vnetscale_e2e:
440+
name: cilium_vnetscale_e2e
441+
clusterName: "ciliumvscalee2e"
442+
region: $(REGION_AKS_CLUSTER_TEST)
425443
cilium_nodesubnet_e2e:
426444
name: cilium_nodesubnet_e2e
427445
clusterName: "cilndsubnete2e"

hack/aks/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ overlay-up: rg-up overlay-net-up ## Brings up an Overlay AzCNI cluster
184184
--yes
185185
@$(MAKE) set-kubeconf
186186

187-
swift-byocni-up: rg-up swift-net-up ## Bring up a SWIFT BYO CNI cluster
187+
swift-byocni-up: rg-up swift-net-up ## Bring up a SWIFT (Podsubnet) BYO CNI cluster
188188
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
189189
--auto-upgrade-channel $(AUTOUPGRADE) \
190190
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -203,7 +203,7 @@ ifeq ($(OS),windows)
203203
endif
204204
@$(MAKE) set-kubeconf
205205

206-
swift-byocni-nokubeproxy-up: rg-up swift-net-up ## Bring up a SWIFT BYO CNI cluster without kube-proxy
206+
swift-byocni-nokubeproxy-up: rg-up swift-net-up ## Bring up a SWIFT (Podsubnet) BYO CNI cluster without kube-proxy
207207
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
208208
--auto-upgrade-channel $(AUTOUPGRADE) \
209209
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -290,10 +290,11 @@ vnetscale-swift-byocni-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
290290
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
291291
--no-ssh-key \
292292
--os-sku $(OS_SKU) \
293+
--pod-ip-allocation-mode StaticBlock \
293294
--yes
294295
@$(MAKE) set-kubeconf
295296

296-
vnetscale-swift-byocni-nokubeproxy-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale SWIFT BYO CNI cluster without kube-proxy
297+
vnetscale-swift-byocni-nokubeproxy-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale SWIFT (Podsubnet) BYO CNI cluster without kube-proxy
297298
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
298299
--auto-upgrade-channel $(AUTOUPGRADE) \
299300
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -307,6 +308,7 @@ vnetscale-swift-byocni-nokubeproxy-up: rg-up vnetscale-swift-net-up ## Bring up
307308
--no-ssh-key \
308309
--os-sku $(OS_SKU) \
309310
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
311+
--pod-ip-allocation-mode StaticBlock \
310312
--yes
311313
@$(MAKE) set-kubeconf
312314

@@ -324,6 +326,7 @@ vnetscale-swift-cilium-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale
324326
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
325327
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
326328
--no-ssh-key \
329+
--pod-ip-allocation-mode StaticBlock \
327330
--yes
328331
@$(MAKE) set-kubeconf
329332

@@ -339,6 +342,7 @@ vnetscale-swift-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale SWIFT
339342
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
340343
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
341344
--no-ssh-key \
345+
--pod-ip-allocation-mode StaticBlock \
342346
--yes
343347
@$(MAKE) set-kubeconf
344348

0 commit comments

Comments
 (0)