PERF(resources): increase CPU limit to VPA × 3 for startup burst
- Change CPU limit multiplier from 1.5x to 3x - Prevents throttling during app startup - Affected: code-server, crafty, docusaurus, gitea, headlamp, homer, immich, mas, umami
This commit is contained in:
@@ -46,7 +46,7 @@ resources:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 768Mi
|
memory: 768Mi
|
||||||
|
|
||||||
# Security context
|
# Security context
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ resources:
|
|||||||
cpu: 35m
|
cpu: 35m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 53m
|
cpu: 105m
|
||||||
memory: 192Mi
|
memory: 192Mi
|
||||||
|
|
||||||
# Health checks with startupProbe for slow initialization
|
# Health checks with startupProbe for slow initialization
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ controllers:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ resources:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ resources:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ controllers:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ server:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 768Mi
|
memory: 768Mi
|
||||||
probes:
|
probes:
|
||||||
startup:
|
startup:
|
||||||
@@ -102,7 +102,7 @@ machine-learning:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 1536Mi
|
memory: 1536Mi
|
||||||
probes:
|
probes:
|
||||||
startup:
|
startup:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ controllers:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 225Mi
|
memory: 225Mi
|
||||||
probes:
|
probes:
|
||||||
startup:
|
startup:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ resources:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 384Mi
|
memory: 384Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 23m
|
cpu: 45m
|
||||||
memory: 576Mi
|
memory: 576Mi
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user