Jorge Turbica / blog · Blog ← All articles ES · Leer en español
Cloud

GKE now builds IPv6-only clusters: 65,536 pod IPs per node, zero private IPv4

GKE previews single-stack IPv6 clusters for TPU v6e and CPU. What changes, how to create one with gcloud, and what stops working (Ingress, kube-dns…).

A /112 pod range per node, 65,536 addresses, and not a single private IPv4 in the cluster: since November 19, 2026, Google Kubernetes Engine supports single-stack IPv6 clusters in preview. It is Google's answer to a problem that hits large AI deployments before GPUs or power run out: running out of RFC 1918 space.

What changes

Until now GKE offered IPv4 or dual-stack clusters, and in both every pod needs an IPv4 address. With --stack-type=ipv6, nodes, pods and Services use IPv6 only. Per the docs, the subnet is a /64, each node gets a /96, and pods are allocated /112 blocks inside it; ClusterIPs come from a /64 that GKE reserves.

There are two access types. INTERNAL uses ULA addresses (fd20::/20), routable only within the VPC, peered networks and hybrid connections. EXTERNAL uses global addresses, and pods reach the internet over IPv6 subject to firewall rules. To talk to IPv4-only destinations (an external container registry, a dataset hub), you enable DNS64 on the VPC and NAT64 on Cloud NAT.

The preview covers Cloud TPU v6e and the E2, N1, N2, N2D, N4, C3, C3D, C4, C4D, C4A (Axion) and Z3 machine families, on GKE 1.37.1-gke.3020000 or later. GPUs are not on the list.

Operational impact

The announcement mentions no pricing change: what you gain is addressing headroom and simpler planning. In a shared VPC where private space is already carved up between on-prem networks, peered VPCs and other clusters, every new node pool means negotiating ranges. Single-stack IPv6 removes that bottleneck, and the remaining limits are the usual ones: GKE's maximum pods per node still applies.

Google says its internal testing showed burst pod scheduling, inter-node TCP/UDP latency, pod-to-pod throughput, eBPF service load balancing and NodeLocalDNS all performing at parity with IPv4. And since every pod has a unique address with no NAT inside the cluster, traces, NetworkPolicies and debugging see the pod's real address.

Creating an IPv6-only cluster

These are the commands from the announcement: network, DNS64, NAT64 and the cluster. Replace REGION and CLUSTER_NAME.

bash
# 1. Custom-mode VPC with internal IPv6 (ULA)
gcloud compute networks create gke-ipv6-net \
  --subnet-mode=custom \
  --enable-ula-internal-ipv6

# 2. DNS64 for the whole VPC
gcloud dns policies create gke-ipv6-dns64 \
  --networks=gke-ipv6-net \
  --enable-dns64-all-queries

# 3. NAT64 in the cluster's region
gcloud compute routers create gke-ipv6-router \
  --network=gke-ipv6-net --region=REGION
gcloud compute routers nats create gke-ipv6-nat64 \
  --router=gke-ipv6-router --region=REGION \
  --auto-allocate-nat-external-ips \
  --nat64-all-v6-subnet-ip-ranges

# 4. The cluster, creating its subnet in the same command
gcloud beta container clusters create CLUSTER_NAME \
  --cluster-version=1.37.1-gke.3020000 \
  --location=REGION \
  --enable-dataplane-v2 \
  --cluster-dns=clouddns \
  --stack-type=ipv6 \
  --network=gke-ipv6-net \
  --create-subnetwork name=my-subnet \
  --ipv6-access-type=internal

Created this way, GKE also provisions the internal subnet the control plane needs: nodes and pods reach it over Private Service Connect, while kubectl comes in from outside through a DNS-based endpoint. That's why the VPC needs ULA enabled even when the node subnet is EXTERNAL. Autopilot is supported too, inheriting the stack type of the subnet you point it at.

Gotchas and edge cases

The docs' list of requirements and limitations is long, and several items mean revisiting what you already run:

  • The metadata server. Pods can't reach 169.254.169.254. Libraries that use metadata.google.internal work; those with the IPv4 address hardcoded need the GCE_METADATA_HOST variable:
yaml
env:
  - name: GCE_METADATA_HOST
    value: "metadata.google.internal"
  • GKE Ingress isn't supported. Layer 7 load balancers go through the Gateway API, and regional ones require a dual-stack proxy-only subnet.
  • No kube-dns, no Cloud Service Mesh. Cloud DNS is mandatory and Google's managed service mesh is out.
  • No NAT66. On INTERNAL subnets, pods reach Google APIs and Artifact Registry over IPv6, but not public IPv6 destinations outside Google, because ULAs aren't routable on the internet.
  • No mixing. Single-stack IPv6 nodes only: no dual-stack node pools, no multi-subnet setups, no route-based clusters, and Dataplane V2 is required. Secondary pod networks in the multi-networking API remain IPv4-only.

Versus EKS in IPv6 mode

AWS already offers IPv6-family EKS clusters, but the approach differs. In EKS, pods and Services get IPv6 only, although each pod also has a node-local IPv4 address the control plane never sees, and nodes always carry both IPv4 and IPv6. Subnets need an IPv4 block alongside the IPv6 one, and traffic to IPv4 destinations is NATed on the node itself, with no need for DNS64 or NAT64. The family is chosen at cluster creation and can't be changed later.

GKE goes one step further and strips IPv4 from the nodes too, at the cost of relying on DNS64/NAT64 for everything still on IPv4. If your problem is private range exhaustion in a corporate network, GKE's model is the one that actually removes it; if your problem is compatibility with IPv4 dependencies, EKS's model has fewer surprises. Since this is a preview, the sensible test is a fresh cluster for training or inference workloads that don't depend on Ingress or the service mesh.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗