fix(gke): explicitly set datapathProvider to ADVANCED_DATAPATH on all GKE cluster examples#2774
Open
pulumi[bot] wants to merge 1 commit into
Open
fix(gke): explicitly set datapathProvider to ADVANCED_DATAPATH on all GKE cluster examples#2774pulumi[bot] wants to merge 1 commit into
pulumi[bot] wants to merge 1 commit into
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Starting March 30, 2027, GKE will default all new clusters to Dataplane V2 (DPv2). Any automation that creates a cluster without explicitly setting
datapathProviderwill 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 whatpulumi/templates(kubernetes-gcp-typescript) andpulumi/workshopsalready do.Affected files
misc/scripts/testinfra/gke.tspulumi-ci-gcp-provider)gcp-ts-gke/cluster.tsgcp-ts-gke-hello-world/index.tsgcp-ts-gke-serviceaccount/index.tsgcp-ts-k8s-ruby-on-rails-postgresql/infra/cluster.tskubernetes-ts-multicloud/gke.tsgcp-go-gke/main.gogcp-java-gke-hello-world/src/main/java/gcpgke/App.javaReferences
pulumi-ci-gcp-providerGCP project