diff --git a/planpalto-helm/values-prod.yaml b/planpalto-helm/values-prod.yaml index 880773c..de59ad8 100644 --- a/planpalto-helm/values-prod.yaml +++ b/planpalto-helm/values-prod.yaml @@ -37,10 +37,12 @@ apps: targetPort: 8088 probePath: /api/v1/health probePort: 8088 + # 100m request keeps idle reservation low; 500m limit gives burst headroom. + # Load test showed ~0.23 millicores/req, so this bursts to thousands of req/s. resources: - requests: { cpu: 250m, memory: 96Mi } + requests: { cpu: 100m, memory: 96Mi } limits: { cpu: 500m, memory: 256Mi } - hpa: { min: 2, max: 12, cpu: 60 } + hpa: { min: 2, max: 8, cpu: 60 } pdb: { maxUnavailable: 1 } seedJob: