Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 2d8e8ee

Browse files
committed
Reduce ci resource requirement
Signed-off-by: John O'Loughlin <[email protected]>
1 parent a0a06d2 commit 2d8e8ee

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

Diff for: ci/ci.sh

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ else
8383
echo VPP ping test failed
8484
exit 1
8585
fi
86+
87+
kubectl delete -n vpp pod/vpp-app1-kind-control-plane
88+
kubectl delete -n vpp pod/vpp-app2-kind-control-plane
89+
kubectl delete -n vpp pod/vpp-kind-control-plane
8690
}
8791

8892
build_ovs_container(){

Diff for: ci/ovs_test_setup/ovs_host.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ spec:
3434
resources:
3535
requests:
3636
hugepages-2Mi: 1Gi
37-
memory: "1Gi"
38-
cpu: "10"
37+
memory: "500Mi"
38+
cpu: "5"
3939
limits:
4040
hugepages-2Mi: 1Gi
41-
memory: "1Gi"
42-
cpu: "10"
41+
memory: "500Mi"
42+
cpu: "5"
4343
securityContext:
4444
capabilities:
4545
add: ["NET_ADMIN", "SYS_TIME"]

Diff for: ci/ovs_test_setup/testpmd_pod.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ spec:
4545
resources:
4646
requests:
4747
hugepages-2Mi: 1Gi
48-
memory: "1Gi"
49-
cpu: "10"
48+
memory: "500Mi"
49+
cpu: "5"
5050
limits:
5151
hugepages-2Mi: 1Gi
52-
memory: "1Gi"
53-
cpu: "10"
52+
memory: "500Mi"
53+
cpu: "5"
5454
# command: ["/bin/sh"]
5555
# args: ["-c", "sleep inf"]
5656
restartPolicy: Always

0 commit comments

Comments
 (0)