Technology · Ebook
KEDA: Event-Driven Autoscaling for Kubernetes
by Shriira Press
KEDA (Kubernetes Event-Driven Autoscaling) lets you scale workloads based on the signals that actually drive demand — queue length, stream lag, custom metrics, dozens of sources — and even scale to zero when there's no work. This free book teaches it from the ground up: Kubernetes autoscaling and the HPA's limits, KEDA's architecture and how it extends the HPA, the ScaledObject resource, scalers and the event sources they connect to, scale-to-zero in depth (and the cold-start trade-off), ScaledJobs for batch workloads, authenticating to event sources with TriggerAuthentication, advanced scaling behavior and tuning, observability, and operating KEDA in production. Ten focused chapters with real config and clear diagrams that turn autoscaling from a crude CPU heuristic into a precise, cost-efficient match between capacity and real demand.
Contents
- 1Preface
- 2Chapter 1 — What KEDA Is
- 3Chapter 2 — Kubernetes Autoscaling Fundamentals
- 4Chapter 3 — Architecture
- 5Chapter 4 — ScaledObjects
- 6Chapter 5 — Scalers and Event Sources
- 7Chapter 6 — Scale-to-Zero
- 8Chapter 7 — ScaledJobs and Batch Workloads
- 9Chapter 8 — Authenticating to Event Sources
- 10Chapter 9 — Advanced Scaling Behavior
- 11Chapter 10 — Operating KEDA and Putting It Together
