Skip to content

Commit

Permalink
Add example with stress-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuCesbron committed Mar 25, 2024
1 parent 2cc9420 commit 72c3f56
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"

0 comments on commit 72c3f56

Please sign in to comment.