GKE 5,000 nodes is now a scale you can reach on your own: Google Kubernetes Engine clusters scale to 5,000 nodes without a support ticket, in under five minutes. Previously this required GKE engineers to intervene and change the configuration, and the change is notable for teams running batch or HPC workloads.

Quick summary

  • GKE lets you scale clusters to 5,000 nodes on your own, without a support ticket.
  • The Kubernetes control plane is sized based on an eight-day history window.
  • The high pod throughput configuration is enabled automatically for clusters beyond 1,000 nodes.
  • Cluster Autoscaler and node provisioning are optimized to scale faster.
  • Inter-pod anti-affinity can significantly degrade performance in large clusters.

What’s new in GKE at 5,000 nodes?

GKE now lets you scale clusters up to 5,000 nodes in a self-service way. The Google Cloud Blog describes that previously you had to open a ticket, work with the GKE engineering team and wait for them to override the default configuration.

The source states that when managing dozens of clusters in an enterprise, the old process can slow down innovation. Fast scaling is especially important for high-performance computing (HPC) workloads and large batch processing.

Example from the original article: a data engineer scales a cluster from the minimum up to 5,000 nodes in the morning, processes data during the day, then removes it in the evening. The original article also mentions scenarios such as daily financial risk simulation, inference with large-scale machine learning models, or processing genome sequencing datasets.

How does GKE scale so fast? The technical mechanisms

The Google Cloud Blog describes three groups of improvements behind this change: history-based control plane sizing, high pod throughput by default, and faster autoscaler and node provisioning. The sections below go through each group.

Diagram of three GKE improvement groups: control plane, pod throughput, autoscaler
Three groups of GKE platform improvements that help clusters scale faster.

Control plane sizing based on an eight-day history

For large clusters, the health of the control plane (the orchestration component of Kubernetes) determines everything. GKE automatically adjusts the size of the Kubernetes Control Plane (KCP) by changing the underlying virtual machines according to the scale of nodes and workloads.

The source describes a scenario: a cluster might be at 100 nodes over the weekend, grow to 5,000 nodes for a Monday morning processing run, then shrink in the evening. Previously, when scaling quickly, the cluster had to wait for the KCP to detect load and then increase the VM size step by step, causing a bottleneck in the early stage.

Now the KCP sizing logic considers a rolling eight-day history window. For workloads with daily or weekly spikes, GKE does not downsize the control plane VMs, so the cluster is ready for the burst without a manual warm-up request or ticket.

High pod throughput by default

When running tens of thousands of pods, the scheduling queue easily becomes a bottleneck. Creating pods, attaching volumes and allocating IPs all require high throughput.

Previously you had to file a ticket so the GKE team could review the architecture request and then manually enable backend flags such as the API server QPS limits in kube-scheduler and kube-controller-manager. Now the high pod throughput configuration is enabled automatically for every GKE cluster beyond 1,000 nodes.

Faster autoscaler and node provisioning

Cluster Autoscaler is accelerated by raising the maximum number of nodes per scale-up, increasing the largest managed instance group (MIG) size, adding a bin packing fastpath and code improvements.

Node ready time is reduced by raising the API server QPS limit and the number of workers in cloud-controller-manager and gcp-controller-manager.

Comparison with the previous approach

Previously, reaching large scale was a multi-step process dependent on people, whereas now many steps are automated in the platform. The table below compares the aspects the source mentions.

Aspect Before Now
Reaching large scale Open a ticket, wait for the GKE team to override the configuration Self-service, no ticket
Control plane sizing Wait for the KCP to detect load, then increase size step by step Considers a rolling eight-day history window
High pod throughput File a ticket to enable backend flags manually Enabled automatically when the cluster exceeds 1,000 nodes

Impact on developers

If you run batch or HPC workloads on GKE, you may no longer need a ticket to reach large scale. You should review existing processes that are waiting on manual support.

The Google Cloud Blog notes that inter-pod anti-affinity in the pod spec, for example to avoid placing multiple pods on one node, can significantly reduce scheduler and cluster autoscaler performance in large clusters. If you need at most one pod per node, the source suggests adjusting resource requests to fit the node capacity, or assigning hostPort to the container.

You should check manifests that use anti-affinity before running at the scale of thousands of nodes.

Impact assessment

Audience Impact Level What to do
Developers Can scale GKE clusters to 5,000 nodes without a ticket. Medium Review pod specs that use inter-pod anti-affinity.
BrSE / PM Large batch schedules may depend less on support wait times. Medium Review plan milestones that account for ticket wait time and discuss with the client if the schedule changes.
Management The process for requesting cluster scale increases may become simpler. Low Consider updating internal processes for requesting scale.

Industry perspective

From Toratech Blog’s perspective, this change may remove a process bottleneck more than a purely technical one: requesting large scale no longer depends on someone else. The opportunity is that data teams can run large batches more flexibly.

The risk is that unsuitable application configuration, such as anti-affinity, can still slow a cluster even though the platform is optimized. In the long term, teams should treat designing pod specs for large scale as part of performance testing.

For Vietnam–Japan offshore projects, a BrSE may consider discussing with the client that cluster scale request milestones can now be shorter, but should confirm with real tests before committing to a schedule.

Frequently asked questions

How many nodes can a GKE cluster scale to on its own?

Up to 5,000 nodes without a support ticket. According to the Google Cloud Blog, a cluster can reach this level in under five minutes.

When is the high pod throughput configuration enabled?

It is enabled automatically for every GKE cluster beyond 1,000 nodes. You do not need to file a ticket to enable it.

Why should you avoid inter-pod anti-affinity in large clusters?

Because it can significantly reduce scheduler and cluster autoscaler performance. The source suggests adjusting resource requests or using hostPort instead.

References

This article was compiled with the help of AI from the sources below.