CertGrid CertGrid
Hands-on Lab·Kubernetes and Cloud Native Associate

Scale to Zero on Kubernetes

Kubernetes will happily run zero replicas - that half of serverless is built in. What it will not do is start one because a request arrived, and that gap is the entire reason KEDA and Knative exist.

Cloud Native Architecture Guide 32 of 46 Beginner

Written against the versions above. The objects here are long-stable. Quota and HPA behaviour has not changed materially in years.

Everything here uses built-in objects. No serverless platform and no autoscaler beyond the HPA is installed.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Zero is a valid replica count

  2. Nothing will wake it up

  3. The event-driven primitive you do have

Official sources