From 240a82f3886e7d4238771940d3633cfe6083e417 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Tue, 10 Sep 2024 22:43:59 +0200 Subject: [PATCH] fix Kamaji OOM (#340) Sometimes Kamaji can be killed due to defult limits let's expand them a little ## Summary by CodeRabbit - **New Features** - Introduced resource management configurations for the `kamaji` service, enhancing control over CPU and memory allocation. - Added specifications for resource limits and requests to improve stability and performance in a Kubernetes environment. Signed-off-by: Andrei Kvapil --- packages/system/kamaji/values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/system/kamaji/values.yaml b/packages/system/kamaji/values.yaml index 94bd36d6..f11f3921 100644 --- a/packages/system/kamaji/values.yaml +++ b/packages/system/kamaji/values.yaml @@ -5,3 +5,11 @@ kamaji: pullPolicy: IfNotPresent tag: v0.14.1@sha256:5a1c82f19552e4ec852880b943290921ec38f4f70b1256848e335f2b96ce09e3 repository: ghcr.io/aenix-io/cozystack/kamaji + + resources: + limits: + cpu: 200m + memory: 500Mi + requests: + cpu: 100m + memory: 100Mi