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:
@@ -46,7 +46,6 @@ resources:
|
||||
cpu: 15m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 768Mi
|
||||
|
||||
# Security context
|
||||
|
||||
@@ -13,7 +13,6 @@ resources:
|
||||
cpu: 35m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 105m
|
||||
memory: 192Mi
|
||||
|
||||
# Health checks with startupProbe for slow initialization
|
||||
|
||||
@@ -35,7 +35,6 @@ controllers:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 150Mi
|
||||
probes:
|
||||
liveness:
|
||||
|
||||
@@ -106,7 +106,6 @@ resources:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 150Mi
|
||||
|
||||
# =============================================================================
|
||||
|
||||
@@ -24,7 +24,6 @@ resources:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 150Mi
|
||||
|
||||
ingress:
|
||||
|
||||
@@ -38,7 +38,6 @@ controllers:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 150Mi
|
||||
|
||||
service:
|
||||
|
||||
@@ -61,7 +61,6 @@ server:
|
||||
cpu: 15m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 768Mi
|
||||
probes:
|
||||
startup:
|
||||
@@ -102,7 +101,6 @@ machine-learning:
|
||||
cpu: 15m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 1536Mi
|
||||
probes:
|
||||
startup:
|
||||
|
||||
@@ -47,7 +47,6 @@ controllers:
|
||||
cpu: 15m
|
||||
memory: 150Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 225Mi
|
||||
probes:
|
||||
startup:
|
||||
|
||||
@@ -42,7 +42,6 @@ resources:
|
||||
cpu: 15m
|
||||
memory: 384Mi
|
||||
limits:
|
||||
cpu: 45m
|
||||
memory: 576Mi
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
Reference in New Issue
Block a user