← Technology, Science & Infrastructure ▣ Distilled locally

Scaling massive AI/ML workloads with IPv6 on Google Kubernetes Engine clusters

By Marek Chodor
November 18, 2026  ·  Google Cloud Blog ↗

TL;DR: Single-stack IPv6 on GKE runs both nodes and pods without having to use private IPv4 addresses. Available in preview for Cloud TPU v6e and CPU node pools, including Axion, it works with DNS64/NAT64 to reach IPv4 endpoints.

Long before they run out of compute or power, AI applications hit another wall: running out of IP addresses. A single AI deployment often requires a vast address space to support everything from thousands of accelerator nodes, scaling inference replicas, bursting Ray workers and pipelines, pod sidecars, and services like vector databases. Running a dual stack — IPv6 behind a private IPv4 space — can help, but only to a point, because the private IPv4 space has often already been exhausted across existing networks. 

To help, today, we're announcing single-stack IPv6 on Google Kubernetes Engine (GKE), allowing you to run both nodes and pods on IPv6, without private IPv4 addresses. Single-stack IPv6 is available in preview for Cloud TPU v6e and CPU node pools, including Axion, and works with DNS64/NAT64 to reach IPv4 endpoints.

image1

Nodes and pods run IPv6-only across Cloud TPU v6e and CPU-based node pools, with no private IPv4. Workloads reach Google Cloud APIs over native IPv6 and IPv4-only endpoints through DNS64/NAT64.

What single-stack IPv6 delivers

The availability of single-stack IPv6 in GKE is a game-changer for large AI deployments. Consider the following features and benefits that it brings to the table:

1. No private IPv4 required for nodes or pods
Nodes and pods use IPv6 exclusively. Without the RFC 1918 footprint that governs private IPv4 address spaces, clusters avoid conflicts with on-premises networks, peered VPCs, or adjacent clusters.

2. IPv4 interoperability with DNS64/NAT64
You enable DNS64 on the VPC, and NAT64 on a regional Cloud NAT gateway, allowing pods to transparently reach IPv4-only endpoints, registries, and dataset hubs — refer to the documentation to learn how to configure DNS64 and set up Cloud NAT.

3. Massive address space per node
Each node receives a /112 pod range (65,536 addresses), so IP address capacity no longer limits how high your clusters, nodes, or pods can scale. Standard GKE maximum-pods-per-node limits still apply.

4. Broad accelerator and compute support
We designed single-stack IPv6 in GKE with the goal of supporting a range of accelerators and general compute families. At preview, it supports Cloud TPU v6e (Trillium), plus E2, N1, N2, N2D, N4, C3, C3D, C4, C4D, C4A, and Z3 machine families, with support for additional accelerators and machine families coming soon.

5. Direct workload observability
Every pod has a unique IPv6 address without having to run NAT inside the cluster, simplifying telemetry, network policies, and debugging.

Performance and scale

Single-stack IPv6 removes private IPv4 address limits without additional data plane overhead. In our internal testing, we saw the following performance characteristics:

Start building today

Single-stack IPv6 is available now in preview on GKE version 1.37.1-gke.3020000

To create your first IPv6-only cluster, run the following commands, replacing REGION and CLUSTER_NAME:

code_block <ListValue: [StructValue([('code', '# 1. Create a VPC with internal (ULA) IPv6 enabled\r\ngcloud compute networks create gke-ipv6-net \\\r\n --subnet-mode=custom \\\r\n --enable-ula-internal-ipv6\r\n\r\n# 2. Enable DNS64 for the VPC\r\ngcloud dns policies create gke-ipv6-dns64 \\\r\n --networks=gke-ipv6-net \\\r\n --enable-dns64-all-queries\r\n\r\n# 3. Enable NAT64 in your region\r\ngcloud compute routers create gke-ipv6-router \\\r\n --network=gke-ipv6-net --region=REGION\r\ngcloud compute routers nats create gke-ipv6-nat64 \\\r\n --router=gke-ipv6-router --region=REGION \\\r\n --auto-allocate-nat-external-ips \\\r\n --nat64-all-v6-subnet-ip-ranges\r\n\r\n# 4. Create the cluster\r\ngcloud beta container clusters create CLUSTER_NAME \\\r\n --cluster-version=1.37.1-gke.3020000 \\\r\n --location=REGION \\\r\n --enable-dataplane-v2 \\\r\n --cluster-dns=clouddns \\\r\n --stack-type=ipv6 \\\r\n --network=gke-ipv6-net \\\r\n --create-subnetwork name=my-subnet \\\r\n --ipv6-access-type=internal'), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7fe856bcded0>)])]>

To learn more, see the documentation.

Originally published by Google Cloud Blog ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.