Latest
Google Kubernetes Engine now scales to 5,000 nodes without a support ticket
Image: Google Cloud

Google Kubernetes Engine now scales to 5,000 nodes without a support ticket

Chat about this article with your favourite AI tool

Google Cloud has made it possible to scale a Google Kubernetes Engine (GKE) cluster to 5,000 nodes without opening a support ticket, and to reach that size in under five minutes, the company announced.

Until now, running clusters at that scale meant contacting Google support, working with GKE engineers and waiting for them to override default settings and change hidden flags. Google said that process slowed teams down, especially enterprises managing dozens of clusters.

Google Cloud logo alongside Kubernetes cluster scaling illustration for GKE
Image: Google Cloud

The change is aimed at high-performance computing (HPC) and large batch-processing jobs. A typical case, according to Google, is a data engineering team that scales from a small baseline to 5,000 nodes in the morning, processes data all day, then tears the cluster down at night.

Control plane that remembers the past eight days

GKE already resizes its Kubernetes control plane automatically by adjusting the virtual machines behind it as node counts change. Google said that under sudden bursts, the control plane previously had to detect the load and step up its VM sizes one stage at a time, creating a bottleneck early in the scale-up.

The sizing logic now looks at a rolling eight-day window of historical scale. For clusters with daily or weekly spikes, GKE will not shrink the control plane VMs, so capacity is ready when the next burst arrives. Google said this removes the need for manual warm-up requests.

Google Cloud logo alongside Kubernetes cluster scaling illustration for GKE
Image: Google Cloud

High pod throughput on by default

Large clusters running tens of thousands of pods can be limited by the scheduling queue, as pod creation, volume mounting and IP allocation all demand high throughput. Previously, customers had to file a ticket so GKE engineers could manually adjust backend settings such as API server QPS limits in kube-scheduler and kube-controller-manager.

A high pod throughput configuration is now enabled automatically for any GKE cluster that passes 1,000 nodes, Google said.

Faster autoscaling and node readiness

To reach the five-minute mark, Google said its engineers optimised several layers of the stack:

  • Cluster Autoscaler: raised the maximum number of nodes per scale-up, increased the largest managed instance group size, added fastpath bin packing and made code-level improvements.
  • Node provisioning and readiness: reduced the time for nodes to provision and become ready by raising API server QPS limits and adding workers in the cloud-controller-manager and gcp-controller-manager components.

A caveat on pod anti-affinity

Google warned that inter-pod anti-affinity rules, often used to stop multiple pods landing on the same node, can substantially degrade scheduler and autoscaler performance in large clusters. For teams that need at most one pod per node, it suggested sizing pod resource requests to match a node’s capacity or assigning a hostPort to the container instead.

Target workloads

Google said the changes remove the gatekeeping around massive scale. It named daily financial risk simulations, large-scale machine learning inference and genomic sequencing data processing as workloads that can benefit.

The company did not give regional availability details in its announcement.

Source: Google Cloud Blog