Commit 1e69599
committed
chore(infra): right-size api-private autoscaling
api-private was pinned at 4/4 max: it's a near-idle internal API (CPU
~1m) whose ~470Mi memory is a flat per-pod Node baseline, not
load-driven. Using memory as an HPA driver against an undersized 350Mi
request held utilization near the 150% target so the formula never
recommended scaling down. Drop memory from the HPA (CPU-only scaling;
memory safety is the 630 heap cap + 700 limit), raise minReplicas to 2
for HA, and right-size the request to 500Mi to match real usage. Settles
at ~2 pods instead of 4.1 parent 32c7d40 commit 1e69599
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
0 commit comments