Skip to content

Commit e148343

Browse files
committed
fix(kamaji): increase memory limits and add startup probe
- Increase memory limit from 500Mi to 512Mi - Increase memory request from 100Mi to 256Mi - Add startup probe with 60s timeout (12 attempts × 5s) - Increase readiness/liveness initialDelaySeconds from 5/15 to 30s This fixes OOMKilled crashes observed in production where kamaji controller was being killed due to insufficient memory during startup. Signed-off-by: IvanHunters <[email protected]>
1 parent e26894e commit e148343

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

‎packages/system/kamaji/values.yaml‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,32 @@ kamaji:
88
resources:
99
limits:
1010
cpu: 200m
11-
memory: 500Mi
11+
memory: 512Mi
1212
requests:
1313
cpu: 100m
14-
memory: 100Mi
14+
memory: 256Mi
15+
startupProbe:
16+
httpGet:
17+
path: /healthz
18+
port: healthcheck
19+
initialDelaySeconds: 5
20+
periodSeconds: 5
21+
timeoutSeconds: 3
22+
successThreshold: 1
23+
failureThreshold: 12
24+
livenessProbe:
25+
httpGet:
26+
path: /healthz
27+
port: healthcheck
28+
initialDelaySeconds: 30
29+
periodSeconds: 20
30+
timeoutSeconds: 1
31+
readinessProbe:
32+
httpGet:
33+
path: /readyz
34+
port: healthcheck
35+
initialDelaySeconds: 30
36+
periodSeconds: 10
37+
timeoutSeconds: 1
1538
extraArgs:
1639
- --migrate-image=ghcr.io/cozystack/cozystack/kamaji:v1.3.0-rc.1@sha256:8c9af083b60600c0800eb56a2cda75f26007b7272a1cf019140de003bfce1a4d

0 commit comments

Comments
 (0)