prod backend: rest at 100m req, HPA max 8 (tuned from load test)

This commit is contained in:
planpal 2026-09-02 16:17:02 +07:00
parent 05b4c84172
commit 9de9e99cec

View File

@ -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: