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:
@@ -36,10 +36,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 80Mi
|
memory: 150Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 300Mi
|
memory: 150Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -36,10 +36,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 80Mi
|
memory: 150Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 300Mi
|
memory: 150Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -36,10 +36,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 256Mi
|
memory: 160Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 160Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -36,10 +36,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 256Mi
|
memory: 160Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 160Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -41,10 +41,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 80Mi
|
memory: 128Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 200Mi
|
memory: 192Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -38,10 +38,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 40Mi
|
|
||||||
cpu: 5m
|
|
||||||
limits:
|
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
|
cpu: 15m
|
||||||
|
limits:
|
||||||
|
memory: 150Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -40,10 +40,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 80Mi
|
memory: 100Mi
|
||||||
cpu: 20m
|
cpu: 25m
|
||||||
limits:
|
limits:
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
cpu: 38m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -41,10 +41,11 @@ ingress:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 50Mi
|
memory: 100Mi
|
||||||
cpu: 20m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 120Mi
|
memory: 150Mi
|
||||||
|
cpu: 23m
|
||||||
|
|
||||||
healthCheck:
|
healthCheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user