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:
@@ -58,10 +58,11 @@ server:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
cpu: 15m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
cpu: 23m
|
||||
memory: 768Mi
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
@@ -88,10 +89,11 @@ machine-learning:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 512Mi
|
||||
cpu: 15m
|
||||
memory: 2Gi
|
||||
limits:
|
||||
memory: 4Gi
|
||||
cpu: 23m
|
||||
memory: 3Gi
|
||||
persistence:
|
||||
cache:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user