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