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