From 31007c55860613cb3c7d1b6c305bac4d9464150b Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Wed, 7 Jan 2026 23:48:43 +0900 Subject: [PATCH] PERF(resources): remove CPU limits - keep memory limits only - CPU throttling prevents app startup, not crashes - Memory OOM is the real cascading failure cause - CPU request ensures fair scheduling --- authelia/helm-values.yaml | 4 ++-- falco/helm-values.yaml | 7 +++---- trivy/helm-values.yaml | 11 +++++------ vault/helm-values.yaml | 6 +++--- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/authelia/helm-values.yaml b/authelia/helm-values.yaml index cf0f36f..998dccd 100644 --- a/authelia/helm-values.yaml +++ b/authelia/helm-values.yaml @@ -10,10 +10,10 @@ pod: replicas: 1 resources: requests: - cpu: 25m + cpu: 15m memory: 256Mi limits: - memory: 512Mi + memory: 384Mi extraVolumes: - name: users-database configMap: diff --git a/falco/helm-values.yaml b/falco/helm-values.yaml index 867d554..0bda0be 100644 --- a/falco/helm-values.yaml +++ b/falco/helm-values.yaml @@ -15,11 +15,10 @@ image: # Resource requests resources: requests: - cpu: 30m - memory: 256Mi + cpu: 49m + memory: 263Mi limits: - cpu: null # Remove CPU limit to prevent throttling (chart default is 1 core) - memory: 512Mi # Prevent OOM + memory: 263Mi # Falco configuration falco: diff --git a/trivy/helm-values.yaml b/trivy/helm-values.yaml index 5c2789e..b215a88 100644 --- a/trivy/helm-values.yaml +++ b/trivy/helm-values.yaml @@ -12,10 +12,10 @@ operator: # Operator 리소스 resources: requests: - cpu: 10m - memory: 128Mi + cpu: 50m + memory: 256Mi limits: - memory: 512Mi # Prevent OOM + memory: 384Mi # 스캔 설정 scanJobTimeout: 10m @@ -58,10 +58,9 @@ trivy: resources: requests: cpu: 50m - memory: 128Mi + memory: 256Mi limits: - cpu: null # Remove CPU limit to prevent throttling (chart default is 500m) - memory: 768Mi # Increased from 500M to prevent OOM during scans + memory: 384Mi # 스캔 작업 설정 trivyOperator: diff --git a/vault/helm-values.yaml b/vault/helm-values.yaml index 5747bee..36d44bc 100644 --- a/vault/helm-values.yaml +++ b/vault/helm-values.yaml @@ -46,10 +46,10 @@ server: # 리소스 제한 resources: requests: - cpu: 50m # Reduced from 100m (actual usage: 24-30m) - memory: 256Mi + cpu: 35m + memory: 263Mi limits: - memory: 512Mi + memory: 263Mi # Ingress 설정 ingress: