PERF(repo): apply CPU/Memory limits based on VPA
- Set CPU request to VPA recommendation - Set CPU limit to VPA × 1.5 for burst allowance - Set Memory limit to VPA × 1.5 to prevent OOM - Prevent cascading failure on node failure
This commit is contained in:
@@ -44,10 +44,11 @@ controllers:
|
||||
REDIS_URL: "redis://redis:6379/0"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
cpu: 15m
|
||||
memory: 150Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
cpu: 23m
|
||||
memory: 225Mi
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user