KubeElasti: True Scale-to-Zero for Kubernetes Services cover

Technology · Ebook

KubeElasti: True Scale-to-Zero for Kubernetes Services

by Shriira Press

4.6(231)108 pagesPublished 2026

KubeElasti is a CNCF Sandbox project that closes a long-standing gap in Kubernetes autoscaling. HPA and KEDA scale a workload between one and many replicas but stop short of zero, because a service with no pods has nowhere to send the next request. KubeElasti solves this with a small operator and a lightweight resolver: an idle service is scaled to zero, and when a request arrives the resolver catches it, queues it, triggers a scale-up, and replays it once pods are ready. This book covers the idle-workload problem, the ElastiService custom resource, the operator-and-resolver architecture, the proxy-versus-serve request path, cooperation with HPA, KEDA, and Prometheus, and how to run it in production.

Contents

  1. 1Preface
  2. 2Chapter 1 — The Idle Workload Problem
  3. 3Chapter 2 — The ElastiService Custom Resource
  4. 4Chapter 3 — Inside the Architecture: Operator and Resolver
  5. 5Chapter 4 — The Request Path: Proxy Mode and Serve Mode
  6. 6Chapter 5 — Cooperating with HPA, KEDA, and Prometheus
  7. 7Chapter 6 — KubeElasti in Practice