GCP/GKE: private nodes, DNS-based control plane access, Cloud NAT, Dataplane V2, and agent sandbox#6701
Open
geojaz wants to merge 3 commits into
Open
Conversation
Enables private nodes paired with --enable-ip-alias, adds DNS access (--enable-master-authorized-networks and related settings), and provisions Cloud NAT at the network level (not at cluster create).
Adds an opt-in flag to enable GKE Dataplane V2 (eBPF datapath, Cilium under the hood) when provisioning a cluster. Off by default. Requires cluster recreation; the flag has no effect on an existing cluster.
GKE Agent Sandbox is a managed feature that installs the agent-sandbox controller and CRDs onto the cluster, enabling SandboxClaim / Sandbox / SandboxWarmPool reconciliation by GKE. This is separate from the gvisor sandbox runtime (already exposed via --sandbox=type=gvisor on the node pool spec): the runtime makes RuntimeClass gvisor available; this flag makes the controller available to manage CRs that use it. PKB previously had no way to enable it at cluster create time. With this flag, scenarios that want the managed controller can set --gke_enable_agent_sandbox=true and PKB appends --enable-agent-sandbox to the gcloud container clusters create command. Requires GKE 1.35.2-gke.1269000 or later. See https://docs.cloud.google.com/kubernetes-engine/docs/how-to/agent-sandbox.
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.
Adds several optional GKE cluster-creation features behind flags, all defaulting off so existing behavior is unchanged.
--gke_enable_private_nodes, DNS-based control plane access, and Cloud NAT support for private clusters (new flags inproviders/gcp/flags.py, network plumbing inproviders/gcp/gce_network.py, wiring inproviders/gcp/google_kubernetes_engine.py).--gke_enable_dataplane_v2to create clusters with Dataplane V2.--gke_enable_agent_sandboxto wire--enable-agent-sandboxon cluster creation.