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,8 +10,10 @@ persistence:
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 150Mi
|
||||
|
||||
# Disable default config - use secret instead
|
||||
config:
|
||||
|
||||
@@ -7,12 +7,11 @@ dashboard:
|
||||
replicaCount: 1
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: null
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 128Mi
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 150Mi
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
@@ -39,12 +38,11 @@ controller:
|
||||
enabled: true
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: null
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 128Mi
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 150Mi
|
||||
|
||||
# Enable VPA recommendations for all namespaces
|
||||
# Set to false to only monitor namespaces with the label: goldilocks.fairwinds.com/enabled=true
|
||||
|
||||
@@ -24,8 +24,10 @@ podSecurityContext:
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 128Mi
|
||||
cpu: 11m
|
||||
memory: 425Mi
|
||||
limits:
|
||||
memory: 425Mi
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
@@ -5,8 +5,10 @@ fullnameOverride: kube-state-metrics
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 150Mi
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
@@ -43,8 +43,10 @@ singleBinary:
|
||||
storageClass: local-path
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m # Reduced from 50m based on actual usage (10m)
|
||||
memory: 128Mi
|
||||
cpu: 23m
|
||||
memory: 462Mi
|
||||
limits:
|
||||
memory: 462Mi
|
||||
|
||||
# Disable components not needed in single binary mode
|
||||
backend:
|
||||
|
||||
@@ -8,8 +8,10 @@ hostPID: true
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
cpu: 15m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 96Mi
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
@@ -53,11 +53,11 @@ prometheus:
|
||||
storage: 5Gi
|
||||
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi # limit 추가 (무제한 증가 방지)
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 512Mi # 256Mi → 512Mi (실제 사용량 반영)
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 768Mi
|
||||
|
||||
# ServiceMonitor 자동 발견 - 모든 ServiceMonitor 선택
|
||||
serviceMonitorSelectorNilUsesHelmValues: false
|
||||
|
||||
@@ -32,8 +32,10 @@ defaultVolumeMounts:
|
||||
# Resources
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m # Reduced from 50m based on actual usage (8-17m)
|
||||
memory: 64Mi
|
||||
cpu: 23m
|
||||
memory: 182Mi
|
||||
limits:
|
||||
memory: 182Mi
|
||||
|
||||
# Tolerations to run on all nodes including master
|
||||
tolerations:
|
||||
|
||||
@@ -13,10 +13,10 @@ persistence:
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
cpu: 15m
|
||||
memory: 200Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 300Mi
|
||||
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
|
||||
@@ -7,12 +7,11 @@ recommender:
|
||||
replicaCount: 1
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: null
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 512Mi
|
||||
cpu: 15m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 192Mi
|
||||
|
||||
# Updater - applies recommended resource requests to pods
|
||||
# Disabled because we're using updateMode: Off (recommendations only)
|
||||
|
||||
Reference in New Issue
Block a user