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

GKE now migrates clusters to Dataplane V2 in place, but ignores your PodDisruptionBudgets

GKE can now move clusters from iptables to eBPF and Cilium without a new cluster, in preview. It recreates every node and ignores PDBs: what to prepare.

Moving a GKE cluster from iptables and kube-proxy to eBPF no longer means standing up a parallel cluster and shifting workloads by hand. As of 20 November 2026, Google supports in-place migration to GKE Dataplane V2 with a single gcloud container clusters update, in preview. The tricky part isn't the command: GKE recreates every node, and during the migration it ignores your PodDisruptionBudgets.

What changes

GKE Dataplane V2 is GKE's networking dataplane built on eBPF and Cilium. It replaces linearly growing iptables rules with eBPF maps in the kernel, and brings in-kernel NetworkPolicy enforcement, ClusterNetworkPolicy, network policy logging and Hubble flow metrics. Google says it supports clusters of up to 15,000 nodes with network policy enforcement, and up to 65,000 without it, although the latter requires recreating the cluster.

Until now, clusters created on Dataplane V1 could only reach V2 by building a new cluster. In-place migration runs in four phases:

PhaseWhat GKE doesWhat you do
DiagnoseFlags unsupported configurations in Active AssistReview and fix them
Initiate—Run the cluster update
Patch nodesRecreates each node pool on V2, following maintenance windows and upgrade strategySet windows and strategy beforehand
FinalizeMarks the cluster ADVANCED_DATAPATHNothing

Who can migrate

  • VPC-native clusters only; routes-based clusters are out.
  • Control plane on 1.35.3-gke.1155000 or later and node pools on 1.35.1-gke.1516000 or later.
  • If you run Cloud Service Mesh or Istio, version 1.23 or later.
  • Standard clusters with Calico enabled can't migrate directly; disable network policy enforcement first.
  • No custom CNI plugins and no eBPF programs attached to managed interfaces.

How to start it and watch it

First, use GKE IP address utilization insights to confirm your Pod IP range can absorb your upgrade strategy: with surge or blue-green upgrades, GKE creates new nodes before deleting old ones. Then run the documented command:

bash
gcloud container clusters update CLUSTER_NAME \
  --location=LOCATION \
  --enable-dataplane-v2

# While it runs, the cluster reports MIGRATE_TO_ADVANCED_DATAPATH
gcloud container clusters describe CLUSTER_NAME \
  --location=LOCATION \
  --format='value(networkConfig.datapathProvider)'

# Per-node-pool status and the Dataplane V2 agents
gcloud container node-pools list --cluster=CLUSTER_NAME \
  --location=LOCATION \
  --format='value(name, networkConfig.datapathProvider)'
kubectl get ds -n kube-system anetd

The migration honours your maintenance windows and exclusions, so it can look stalled. To speed it up you can patch a node pool by hand with gcloud container node-pools update NODE_POOL_NAME --cluster=CLUSTER_NAME --location=LOCATION --datapath-provider=advanced-datapath. Google advises patching pools one at a time first, and only going parallel once you've seen workloads behave.

Until finalization completes, rolling back mirrors the forward path: cancel any running UPGRADE_NODES operations, then run the cluster update with --no-enable-dataplane-v2. Once the cluster reports ADVANCED_DATAPATH, there's no way back to V1.

Traps and edge cases

  • Your PDBs don't count. The docs say it plainly: the migration ignores the cluster disruption budget. Pods are rescheduled as nodes are recreated, so single-replica or quorum-based workloads (Kafka, etcd, databases in StatefulSets) need their own plan and a low-traffic window.
  • Remove NetworkPolicies first. Existing policies must be deleted before you start: if GKE suddenly enforces them while recreating nodes, you can cut traffic that flows today without anyone noticing. Keep them in Git and re-apply them after the migration, testing in staging first.
  • Terraform can't do this. The migration isn't supported through Terraform. Trigger it with gcloud and update your code afterwards so the next plan doesn't try to undo it.
  • Networking config is frozen. You can't change cluster-wide networking settings during the migration, or enable NodeLocal DNSCache or intranode visibility; do it before or after.
  • Zone capacity. If there aren't machines to build the new nodes, patching fails with GCE_STOCKOUT or ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS. GKE retries on its own; if you patch manually, you wait.
  • It's preview. Google recommends starting with test clusters, and pre-GA support terms apply.

Versus a parallel cluster

The old approach, building a V2 cluster and moving workloads across, still has advantages: you can back out at any point, you can shift real traffic in a controlled cutover, and it's the only path for routes-based clusters or for going past 15,000 nodes. In exchange, it means duplicating infrastructure, redoing IP allocations and moving stateful workloads. In-place migration keeps the cluster, its IPs and its integrations, and turns the switch into one more node upgrade.

My recommendation: if your cluster meets the requirements and your workloads tolerate a node rollout, in-place migration saves you building and draining an entire cluster. Start with a staging cluster that has the same network setup, time how long each node pool takes, and use that to pick the production window.

Sources

Jorge Turbica

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

See portfolio ↗