Skip to content

fix(gke): explicitly set datapathProvider to ADVANCED_DATAPATH on all GKE cluster examples#2774

Open
pulumi[bot] wants to merge 1 commit into
masterfrom
neo/gke-explicit-datapath-provider-k9x2w
Open

fix(gke): explicitly set datapathProvider to ADVANCED_DATAPATH on all GKE cluster examples#2774
pulumi[bot] wants to merge 1 commit into
masterfrom
neo/gke-explicit-datapath-provider-k9x2w

Conversation

@pulumi
Copy link
Copy Markdown
Contributor

@pulumi pulumi Bot commented May 22, 2026

Summary

Starting March 30, 2027, GKE will default all new clusters to Dataplane V2 (DPv2). Any automation that creates a cluster without explicitly setting datapathProvider will silently shift to DPv2 behavior after that date.

This PR pins datapathProvider: "ADVANCED_DATAPATH" in every example that currently omits it, making the behavior explicit and forward-compatible. This also aligns with what pulumi/templates (kubernetes-gcp-typescript) and pulumi/workshops already do.

Affected files

File Language
misc/scripts/testinfra/gke.ts TypeScript (CI infra in pulumi-ci-gcp-provider)
gcp-ts-gke/cluster.ts TypeScript
gcp-ts-gke-hello-world/index.ts TypeScript
gcp-ts-gke-serviceaccount/index.ts TypeScript
gcp-ts-k8s-ruby-on-rails-postgresql/infra/cluster.ts TypeScript
kubernetes-ts-multicloud/gke.ts TypeScript
gcp-go-gke/main.go Go
gcp-java-gke-hello-world/src/main/java/gcpgke/App.java Java

References

… GKE cluster examples

Starting March 30, 2027, GKE will default new clusters to Dataplane V2 (DPv2).
All existing examples that omit datapathProvider will silently shift behavior.
Explicitly setting ADVANCED_DATAPATH aligns with the GKE template and workshops
already use, and ensures the examples continue to work correctly after the cutover.

Affected files:
- misc/scripts/testinfra/gke.ts (CI infra in pulumi-ci-gcp-provider GCP project)
- gcp-ts-gke/cluster.ts
- gcp-ts-gke-hello-world/index.ts
- gcp-ts-gke-serviceaccount/index.ts
- gcp-ts-k8s-ruby-on-rails-postgresql/infra/cluster.ts
- kubernetes-ts-multicloud/gke.ts
- gcp-go-gke/main.go
- gcp-java-gke-hello-world/src/main/java/gcpgke/App.java

Co-Authored-By: Alberto Pose <apose+pulumi-corp@pulumi.com>
@pose pose requested review from a team May 22, 2026 15:55
@pose pose self-assigned this May 22, 2026
@pose pose added this to the 0.138 milestone May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants