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
This commit is contained in:
@@ -10,10 +10,10 @@ pod:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 25m
|
cpu: 15m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 384Mi
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- name: users-database
|
- name: users-database
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
@@ -15,11 +15,10 @@ image:
|
|||||||
# Resource requests
|
# Resource requests
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 30m
|
cpu: 49m
|
||||||
memory: 256Mi
|
memory: 263Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: null # Remove CPU limit to prevent throttling (chart default is 1 core)
|
memory: 263Mi
|
||||||
memory: 512Mi # Prevent OOM
|
|
||||||
|
|
||||||
# Falco configuration
|
# Falco configuration
|
||||||
falco:
|
falco:
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ operator:
|
|||||||
# Operator 리소스
|
# Operator 리소스
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 50m
|
||||||
memory: 128Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi # Prevent OOM
|
memory: 384Mi
|
||||||
|
|
||||||
# 스캔 설정
|
# 스캔 설정
|
||||||
scanJobTimeout: 10m
|
scanJobTimeout: 10m
|
||||||
@@ -58,10 +58,9 @@ trivy:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 128Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: null # Remove CPU limit to prevent throttling (chart default is 500m)
|
memory: 384Mi
|
||||||
memory: 768Mi # Increased from 500M to prevent OOM during scans
|
|
||||||
|
|
||||||
# 스캔 작업 설정
|
# 스캔 작업 설정
|
||||||
trivyOperator:
|
trivyOperator:
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ server:
|
|||||||
# 리소스 제한
|
# 리소스 제한
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m # Reduced from 100m (actual usage: 24-30m)
|
cpu: 35m
|
||||||
memory: 256Mi
|
memory: 263Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 263Mi
|
||||||
|
|
||||||
# Ingress 설정
|
# Ingress 설정
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
Reference in New Issue
Block a user