f1-stream: right-size memory 1Gi -> 256Mi (CDP-only, no bundled Chromium)
All checks were successful
ci/woodpecker/push/default Pipeline was successful
ci/woodpecker/push/build-cli Pipeline was successful

Actual usage ~116Mi, Goldilocks/VPA upperBound ~185Mi (incl. live races over
99d). The 1Gi reservation was sized for the old bundled-Chromium image; the app
now drives the remote chrome-service over CDP. 256Mi (upperBound x~1.3, bursty)
requests=limits per convention; cpu request 100m -> 50m (VPA upperBound 49m).
Frees ~768Mi of reserved cluster memory.
This commit is contained in:
Viktor Barzin 2026-06-05 12:57:22 +00:00
parent d17b25cdcc
commit 5b96b841fc

View file

@ -131,13 +131,17 @@ resource "kubernetes_deployment" "f1-stream" {
image = "forgejo.viktorbarzin.me/viktor/f1-stream:${var.image_tag}"
image_pull_policy = "Always"
name = "f1-stream"
# Right-sized 2026-06-05: was 1Gi (bundled-Chromium era). The image is
# now CDP-only (verifier drives the remote chrome-service), so actual
# usage is ~116Mi and the VPA upperBound (incl. live races) is ~185Mi.
# 256Mi = upperBound x ~1.3 (bursty); requests=limits per convention.
resources {
limits = {
memory = "1Gi"
memory = "256Mi"
}
requests = {
cpu = "100m"
memory = "1Gi"
cpu = "50m"
memory = "256Mi"
}
}
port {