Enterprise AI, cloud modernization, cybersecurity and platform engineering.
Resources › Guide

GKE Security Baseline: 10 Steps to Harden Google Kubernetes Engine for Regulated Teams

iNET SYSTEMS DevOps Practice • Published • Last updated • 7 min read
Reviewed by iNET SYSTEMS Architecture Practice

Key takeaway: A GKE security baseline for 2026 means Autopilot or hardened Standard clusters, Workload Identity Federation, private nodes with a DNS-only control plane, signed images, cluster-wide network policy and fast patching. Enforce each control with organization policy constraints and Terraform, then monitor it in Security Command Center and your security information and event management (SIEM).

Most enterprise cloud services on Google Cloud end up on Google Kubernetes Engine (GKE). It runs the application programming interfaces (APIs), the batch jobs and, increasingly, artificial intelligence (AI) inference and agent workloads. It’s also where we find the most drift between what a security policy says and what a cluster actually allows.

This post is the GKE baseline we apply for regulated clients in 2026. It reflects this year’s platform changes, two recent GKE security bulletins, and the organization policy constraints Google now documents for each control. It sits alongside our guides to Google Cloud security for enterprises and Kubernetes security for regulated workloads.

What does a GKE security baseline include?

A GKE security baseline is a minimum, enforced set of identity, network, supply-chain, node and monitoring controls that every cluster must meet before it runs production workloads. “Enforced” is the key word: each control should be set by Terraform and guarded by an organization policy, not left to a checklist.

At minimum, the baseline covers:

  • Identity: Workload Identity Federation for GKE, Google Groups for role-based access control (RBAC), no service account keys.
  • Network: private nodes, DNS-based control plane access, default-deny network policy.
  • Supply chain: images from Artifact Registry only, signed and verified at admission.
  • Nodes: Container-Optimized operating system (OS), Shielded GKE Nodes with secure boot, auto-upgrades on a release channel.
  • Detection: Security Command Center findings and GKE audit logs flowing to your SIEM.

What changed in GKE security in 2026?

Three changes matter for 2026 baselines: cluster-wide network policy, stricter anonymous access defaults and a published blueprint for AI workloads. Two recent bulletins also show why patch speed is a control in its own right.

  • ClusterNetworkPolicy (preview, August 2026): available on GKE 1.36 and later. It adds an admin tier above namespace NetworkPolicy and a baseline tier that sets default behavior when no other policy applies, so platform teams can apply non-bypassable cluster-wide rules (SecurityBrief).
  • Anonymous access: in GKE 1.35.0-gke.1171000 and later, anonymous access to non-health-check endpoints is denied by default, but only on newly created clusters (Google Cloud hardening guide). On existing clusters we set --anonymous-authentication-config=LIMITED, available from GKE 1.32.2-gke.1234000.
  • GKE AI security blueprint (July 2026): a three-layer approach covering infrastructure, model integrity and application security (InfoQ).

On patching, the GKE security bulletins make the point. GCP-2026-078 (November 4, 2026, Medium) covers a flaw in the Linux kernel Internet Protocol version 4 (IPv4) Transmission Control Protocol (TCP) stack that can cause a kernel panic or a container escape on Container-Optimized OS nodes; fixed versions are listed for GKE 1.32 through 1.36, with 1.37 and Ubuntu patches still in progress at publication. GCP-2026-071 (October 23, 2026, High) covers compromised eMudhra (emSign) subordinate certificate authority (CA) private keys that expose external Transport Layer Security (TLS) connections to interception; internal GKE mTLS is unaffected. Release channels and maintenance windows make moving to the listed patch versions routine.

Should you choose GKE Autopilot or Standard for security?

Choose Autopilot by default; choose Standard only when you need node-level control such as custom images, privileged system agents or specific graphics processing unit (GPU) configurations. Autopilot turns several baseline controls from “configure and audit” into “always on.”

Security defaults in GKE Autopilot and GKE Standard
Control GKE Autopilot GKE Standard
Workload Identity Federation Always enabled Must be enabled per cluster and node pool
Shielded GKE Nodes Always enabled, with secure boot and integrity monitoring On by default; can be changed
Node image Container-Optimized OS only Container-Optimized OS by default; Ubuntu and Windows available
Release channel Always enrolled Optional; enroll explicitly
Node management Google-managed Customer-managed node pools
Best fit Most enterprise APIs and services Specialized nodes, custom agents, fine-grained tuning

With Standard clusters, the 10 steps below matter even more, because every default is a decision you own. Our Kubernetes consulting team helps make that call per workload.

How do you harden a GKE cluster? 10 steps

Apply these in order and enforce each with an organization policy constraint where one exists. The constraint names come from Google’s GKE hardening guide.

  1. Use Autopilot or a release channel. Enroll Standard clusters in a release channel with node auto-upgrade and accelerated patch auto-upgrades.
  2. Enable Workload Identity Federation for GKE. Enforce it with constraints/container.managed.enableWorkloadIdentityFederation and delete exported service account keys.
  3. Restrict the control plane to the DNS-based endpoint. Disable IP-based endpoints, enforce constraints/container.managed.enableControlPlaneDNSOnlyAccess, and gate access with identity and access management (IAM).
  4. Use private nodes. Enforce constraints/container.managed.enablePrivateNodes so nodes have no external Internet Protocol (IP) addresses.
  5. Map RBAC to Google Groups. Enforce constraints/container.managed.enableGoogleGroupsRBAC and grant least privilege per namespace.
  6. Limit anonymous access. Set anonymous authentication to LIMITED on clusters created before GKE 1.35.0-gke.1171000.
  7. Enforce Pod Security Standards. Apply the PodSecurity admission controller at restricted for application namespaces, or use Policy Controller across fleets.
  8. Default-deny the network. Use ClusterNetworkPolicy baseline and admin tiers where available, and namespace NetworkPolicy elsewhere.
  9. Verify images at admission. Pull only from Artifact Registry and require signed images with Binary Authorization.
  10. Move secrets out of Kubernetes Secrets. Google recommends an external secret manager such as Secret Manager. Where Kubernetes Secrets remain, encrypt them at the application layer with a key you manage.

Also disable the insecure kubelet read-only port (10255) and move workloads to port 10250, keep Shielded Nodes with secure boot, and send GKE audit logs and Security Command Center findings to your SIEM, such as Microsoft Sentinel or Google Security Operations.

How do you enforce the GKE baseline with Terraform and CI/CD?

Define the cluster in Terraform, enforce guardrails with organization policies, and block non-compliant plans in continuous integration and continuous delivery (CI/CD) before they reach Google Cloud. Manual console changes are the most common source of drift we find.

An illustrative Autopilot definition (verify argument names against your Google provider version):

resource "google_container_cluster" "prod" {
  name             = "prod-autopilot"
  location         = "us-central1"
  enable_autopilot = true

  release_channel { channel = "REGULAR" }

  private_cluster_config { enable_private_nodes = true }

  control_plane_endpoints_config {
    dns_endpoint_config { allow_external_traffic = true }
    ip_endpoints_config { enabled = false }
  }

  binary_authorization {
    evaluation_mode = "PROJECT_SINGLETON_POLICY_ENFORCE"
  }
}

In the pipeline, run terraform plan, scan the plan with a policy tool such as OPA/Conftest or Checkov, and require approval for production applies. Our Terraform and CI/CD automation teams build this gate. Workload Identity Federation also removes long-lived keys from the pipeline itself, because GitHub Actions or Cloud Build can authenticate to Google Cloud with short-lived tokens; our CI/CD pipeline security guide shows the setup.

How do you secure AI workloads on GKE?

Treat AI inference and agents as untrusted, high-value workloads: isolate them, remove static credentials, and inspect prompts and responses. Google’s July 2026 GKE blueprint organizes this into infrastructure, model integrity and application layers.

The controls we prioritize, all named in the blueprint coverage:

  • Confidential GKE Nodes for sensitive inference, extending memory encryption to accelerators including NVIDIA H100 graphics processing units (GPUs) and Tensor Processing Units (TPUs).
  • Workload Identity Federation so inference pods fetch model weights from Cloud Storage without long-lived keys.
  • virtual private cloud (VPC) Service Controls around regulated data and model buckets.
  • GKE Sandbox (gVisor) for agents that run generated code or call untrusted tools.
  • Model Armor to screen prompts and responses for injection attempts.

Agents also need their own identities and tool scopes; see our guide to AI agent identity.

“A GKE baseline is only real if a developer can’t turn it off. Put every control in Terraform, back it with an org policy, and let the pipeline say no before a human has to.”

iNET SYSTEMS DevOps Practice

A GKE cluster is as secure as the defaults you enforce. Start with Autopilot, codify the 10 steps and patch within days of each bulletin, and your audits become about evidence rather than exceptions. For the same baseline on Amazon Web Services (AWS), see our AWS security baseline.

Not sure your GKE clusters would pass this baseline?

Book a cloud security assessment with iNET SYSTEMS. We’ll review your GKE clusters and Google Cloud organization against these 10 controls, codify the fixes in Terraform and wire the evidence into your SIEM. Book your assessment.

Questions about this article

Is GKE Autopilot more secure than GKE Standard?

Autopilot is more secure by default, not by magic. Workload Identity Federation, Shielded GKE Nodes and Container-Optimized OS are always on, clusters are enrolled in a release channel, and Google manages the nodes. Standard can reach the same posture, but every control must be configured, enforced with org policies and audited by your team.

What is ClusterNetworkPolicy in GKE?

ClusterNetworkPolicy is a cluster-wide network policy application programming interface (API), in preview on GKE 1.36 and later since August 2026. It adds an admin tier evaluated before namespace NetworkPolicy and a baseline tier that sets default behavior when no other policy applies, so platform teams can enforce rules that namespace policies can't bypass.

How do I stop using service account keys on GKE?

Enable Workload Identity Federation for GKE, bind each Kubernetes service account to a narrowly scoped IAM principal, and delete exported keys. Enforce it with the enableWorkloadIdentityFederation org policy constraint. For CI/CD, use Workload Identity Federation from GitHub Actions or Cloud Build instead of stored JavaScript Object Notation (JSON) keys.

How fast should GKE security bulletins be patched?

Patch based on severity and exposure, but measure it in days, not quarters. Enroll clusters in a release channel, set maintenance windows and enable accelerated patch auto-upgrades. For example, GCP-2026-078 in November 2026 listed fixed versions for GKE 1.32 through 1.36 on Container-Optimized OS.

What does a GKE baseline need for compliance?

Enforced, evidenced controls: identity through Workload Identity Federation, private networking, signed images, Pod Security Standards, secrets in Secret Manager and centralized audit logs. Security Command Center findings and GKE audit logs in your SIEM give auditors continuous evidence for System and Organization Controls 2 (SOC 2), International Organization for Standardization (ISO) 27001 and similar frameworks.

Can Terraform enforce a GKE security baseline?

Terraform defines the secure configuration, but it can't stop console changes on its own. Pair it with organization policy constraints that block insecure settings, policy-as-code scans of every terraform plan in CI/CD, and drift detection. Together these make the baseline enforceable rather than advisory.

Related service

Kubernetes Consulting for AKS, EKS and GKE

Kubernetes consulting for Azure Kubernetes Service (AKS), Amazon Elastic Kubernetes Service (EKS) and GKE: cluster design, network isolation, GitOps, secrets, observability and production operations.

Explore Kubernetes Consulting for AKS, EKS and GKE

Further reading

Source and what it covers
GKE overview
Google Cloud. Google Cloud's managed Kubernetes service.
Kubernetes security concepts
Kubernetes. Security concepts for Kubernetes clusters and workloads.
CIS Kubernetes Benchmark
Center for Internet Security. Configuration benchmarks for securing Kubernetes clusters.
Enterprise foundations blueprint
Google Cloud. Google Cloud's reference design for a secure enterprise foundation.
What is Terraform?
HashiCorp. An infrastructure-as-code tool for defining and provisioning cloud resources.
Talk to us

Want help putting this to work?

We can help you turn these steps into a plan that fits your team.

New to iNET SYSTEMS? Meet our founder, see how we work, read the FAQs or start with an AI Security Readiness Assessment.

Book a 30-minute Call
Contact us