Skip to content

Commit 5931f8f

Browse files
authored
ci: add Cilium OS/Proc coverage to CNI Load Test pipeline (#2296)
ci: add cilium OS/Proc testing
1 parent ada7560 commit 5931f8f

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

.pipelines/cni/cilium/cilium-overlay-load-test-template.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ parameters:
77
vmSize: "Standard_DS4_v2"
88
testDropgz: true
99
os: "linux"
10+
arch: ""
11+
osSKU: Ubuntu
1012

1113
# Condition confirms that:
1214
# Previous job has reported Succeeded. Previous job is currently setup which controls variable assignment and we are dependent on its success.
@@ -79,9 +81,9 @@ stages:
7981
8082
echo "Deploy Azure-CNS"
8183
if [ -z $(DROP_GZ_VERSION) ]; then
82-
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(dropgzVersion) INSTALL_CNS=true INSTALL_AZURE_CNI_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
84+
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(dropgzVersion) INSTALL_CNS=true INSTALL_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
8385
else
84-
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(DROP_GZ_VERSION) INSTALL_CNS=true INSTALL_AZURE_CNI_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
86+
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(DROP_GZ_VERSION) INSTALL_CNS=true INSTALL_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
8587
fi
8688
kubectl get po -owide -A
8789
- job: deploy_pods

.pipelines/cni/pipeline.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,34 @@ stages:
142142
nodeCount: ${NODE_COUNT_CILIUM}
143143
vmSize: ${VM_SIZE_CILIUM}
144144

145+
- template: cilium/cilium-overlay-load-test-template.yaml
146+
parameters:
147+
name: cilium_overlay_mariner
148+
clusterType: overlay-byocni-nokubeproxy-up
149+
clusterName: "cil-over-mar"
150+
nodeCount: ${NODE_COUNT_CILIUM}
151+
vmSize: ${VM_SIZE_CILIUM}
152+
arch: amd64
153+
osSKU: AzureLinux
154+
155+
- template: cilium/cilium-overlay-load-test-template.yaml
156+
parameters:
157+
name: cilium_overlay_arm
158+
clusterType: overlay-byocni-nokubeproxy-up
159+
clusterName: "cil-over-arm"
160+
nodeCount: ${NODE_COUNT_CILIUM}
161+
vmSize: Standard_D8ps_v5
162+
arch: arm64
163+
164+
- template: cilium/cilium-overlay-load-test-template.yaml
165+
parameters:
166+
name: cilium_overlay_rdma
167+
clusterType: overlay-byocni-nokubeproxy-up
168+
clusterName: "cil-over-rdma"
169+
nodeCount: 2
170+
vmSize: Standard_NC24r
171+
arch: amd64
172+
145173
- template: singletenancy/cniv1-template.yaml
146174
parameters:
147175
name: win22_cniv1
@@ -221,6 +249,9 @@ stages:
221249
condition: always()
222250
dependsOn:
223251
- cilium_overlay
252+
- cilium_overlay_mariner
253+
- cilium_overlay_arm
254+
- cilium_overlay_rdma
224255
- win22_cniv1_HNS
225256
- linux_cniv1
226257
- linux_podsubnet
@@ -241,6 +272,15 @@ stages:
241272
cilium_overlay:
242273
name: cilium_overlay
243274
clusterName: "cilium-over"
275+
cilium_overlay_mariner:
276+
name: cilium_overlay_mariner
277+
clusterName: "cil-over-mar"
278+
cilium_overlay_arm:
279+
name: cilium_overlay_arm
280+
clusterName: "cil-over-arm"
281+
cilium_overlay_rdma:
282+
name: cilium_overlay_rdma
283+
clusterName: "cil-over-rdma"
244284
win22-cniv1:
245285
name: win22-cniv1
246286
clusterName: "win22-cniv1"

0 commit comments

Comments
 (0)