tests: k8s: Be more aggressive to get OOM

Let's increase the amount of bytes allocated per VM worker, so we can
hit the OOM sooner.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2025-01-06 18:40:03 +01:00
parent f563f0d3fc
commit 44ff602c64

View File

@ -16,7 +16,7 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: oom-test name: oom-test
command: ["/bin/sh"] command: ["/bin/sh"]
args: ["-c", "sleep 2; stress --vm 2 --vm-bytes 400M --timeout 30s"] args: ["-c", "sleep 2; stress --vm 2 --vm-bytes 500M --timeout 30s"]
resources: resources:
limits: limits:
memory: 500Mi memory: 500Mi