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

Reduce ci resource requirement #197

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ else
echo VPP ping test failed
exit 1
fi

kubectl delete -n vpp pod/vpp-app1-kind-control-plane
kubectl delete -n vpp pod/vpp-app2-kind-control-plane
kubectl delete -n vpp pod/vpp-kind-control-plane
}

build_ovs_container(){
Expand Down
8 changes: 4 additions & 4 deletions ci/ovs_test_setup/ovs_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ spec:
resources:
requests:
hugepages-2Mi: 1Gi
memory: "1Gi"
cpu: "10"
memory: "500Mi"
cpu: "5"
limits:
hugepages-2Mi: 1Gi
memory: "1Gi"
cpu: "10"
memory: "500Mi"
cpu: "5"
securityContext:
capabilities:
add: ["NET_ADMIN", "SYS_TIME"]
Expand Down
8 changes: 4 additions & 4 deletions ci/ovs_test_setup/testpmd_pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ spec:
resources:
requests:
hugepages-2Mi: 1Gi
memory: "1Gi"
cpu: "10"
memory: "500Mi"
cpu: "5"
limits:
hugepages-2Mi: 1Gi
memory: "1Gi"
cpu: "10"
memory: "500Mi"
cpu: "5"
# command: ["/bin/sh"]
# args: ["-c", "sleep inf"]
restartPolicy: Always
Expand Down