Google Kubernetes Engine can now shut workloads down to zero running instances and automatically restart them when work arrives, cutting costs for jobs that run only occasionally. Google announced the capability as part of GKE 1.37, aimed at batch processors, event-driven workers, and development environments that otherwise sit idle while still consuming compute resources.
The feature builds scale-to-zero directly into the GKE control plane, removing the need for KEDA, a separate open-source add-on many teams previously used for this purpose. Google says KEDA setups can require managing extra operators and, at large scale, more than 10,000 lines of configuration, while the native approach uses standard Kubernetes autoscaling objects with far less setup.
Under the hood, the system pairs the Horizontal Pod Autoscaler with a new AutoscalingMetric signal pipeline that reads external data, such as Pub/Sub message counts, directly from Google Cloud Managed Service for Prometheus. A related Kubernetes mechanism lets administrators set a minimum replica count of zero, so the autoscaler halts all pods once demand drops and restarts them as soon as pending work is detected.
To use it, engineers define a metric source pointing at a cloud signal, then reference that metric in an HPA configuration with the minimum replica setting at zero and a maximum ceiling for scale-up.
Source: Google Cloud announcement.