~/talk

How and Why We Rebuilt Auto-scaling in OpenFaaS with Prometheus

slides:none on file

OpenFaaS replaces Alertmanager-driven alerts with an autoscaler daemon that queries Prometheus and kubelet/cAdvisor, supporting three concrete strategies: in-flight request mode (queue‑depth style capacity), tunable RPS, and CPU-based scaling. Recording rules collapse many PromQL joins into a single metric so the scaler computes desired replicas (example: 1,800 mCPU ÷ 500 mCPU target = 3.6 → 4 pods). Per-function scale-to-zero timeouts, dashboards, and production use (DockerCon load test, customer ML and log ingestion) prove the redesign works.

AI-written summary · about

  1. 0:00Start
  2. 8:47Scale to Xero
  3. 11:06Hpa V2
  4. 11:21Edge Cases on Scale to Zero
  5. 13:05How Does the New Version Work
  6. 15:52Pod Usage Total Seconds
  7. 24:59Graceful Shutdown
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.