From 72c3f56f4afdbf937aa68f260a867e2ab6c16757 Mon Sep 17 00:00:00 2001 From: mathieu cesbron Date: Mon, 25 Mar 2024 14:57:19 +0000 Subject: [PATCH] Add example with stress-ng --- manifests/deployment.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index b89f65a..afcb265 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -14,8 +14,8 @@ spec: spec: serviceAccountName: kondense containers: - - name: ubuntu - image: ubuntu + - name: stress-ng + image: polinux/stress-ng command: [ "sleep", "1d" ] resources: limits: @@ -27,3 +27,8 @@ spec: limits: cpu: 0.1 memory: 60M + env: + - name: STRESS-NG_MEMORY_INTERVAL + value: "1" + - name: STRESS-NG_MEMORY_MAX_DEC + value: "0.03"