Google Cloud · Containers

Google Kubernetes Engine (GKE)

Managed Kubernetes: Google runs the control plane, and in Autopilot mode the nodes too, so you deploy and pay for Pods.

On the Google Cloud Associate Cloud Engineer exam listAutomation

What it is and what problem it solves

Google Kubernetes Engine runs Kubernetes clusters with a Google-managed control plane. In Autopilot mode Google also manages the nodes, applies hardened defaults and bills for the CPU, memory and storage your Pods request. In Standard mode you manage node pools (machine types, autoscaling, upgrades) and pay for the nodes. Clusters can be zonal or regional (control plane and nodes across zones), and release channels keep them upgraded automatically.

When to use it

  • Many containerised services that share a platform, tooling (Helm, GitOps) and policies.
  • Workloads that need Kubernetes features: StatefulSets, DaemonSets, operators, custom scheduling.
  • Portability of manifests across clouds and on-premises.
  • Long-running, stateful or non-HTTP workloads that don't fit Cloud Run.

When to avoid it

  • A handful of stateless HTTP services: Cloud Run is simpler and scales to zero.
  • Teams without Kubernetes skills and no need for its features.
  • Single legacy applications that need a full VM: Compute Engine.

Scaling model and bottlenecks

Horizontal Pod Autoscaler and Vertical Pod Autoscaler for workloads; cluster autoscaler and node auto-provisioning in Standard, automatic in Autopilot. Pod IP ranges (VPC-native clusters) cap how many nodes a cluster can grow to, so plan secondary ranges generously.

Limits and quotas

ItemValueContextSource
Maximum Pods per node (Standard, default) 110
Can be raised with a quota request
Each node reserves a Pod range sized for this number (a /24 for 110 Pods). Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

  • A cluster management fee per cluster-hour (with a free-tier credit for one cluster per billing account).
  • Autopilot: the resources Pods request; Standard: the node VMs.
  • Load balancers, persistent disks, network egress and logging volume.

Where it is cost-efficient

Right-sized Pod requests on Autopilot; well bin-packed node pools with committed use discounts on Standard; Spot Pods for tolerant work.

Where costs grow

Over-requested Pods, idle node capacity, many small clusters each paying the management fee, verbose logging.

Cost controls and common surprises

Cost allocation by namespace and label, VPA recommendations, cluster autoscaler profiles, and fewer, shared clusters where isolation allows.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

  • Workload Identity Federation for GKE gives Pods their own Google identity (on by default in Autopilot).
  • Shielded nodes, Container-Optimized OS and automatic upgrades through release channels.
  • Private nodes and an optional private control plane endpoint.

What you configure

Least-privilege RBAC through Google Groups, NetworkPolicies, Pod Security Standards, trusted images (Artifact Registry scanning, Binary Authorization), application-layer secret encryption with Cloud KMS, and a minimal node service account.

Logging and monitoring

Kubernetes audit logs in Cloud Logging; Managed Service for Prometheus and GKE dashboards in Cloud Monitoring.

Shared responsibility

Google manages the control plane (and nodes in Autopilot); you secure workloads, RBAC, images and network policy.

Availability, backup and failure behavior

Regional clusters replicate the control plane and spread nodes across three zones. Use PodDisruptionBudgets and maintenance windows so upgrades don't remove too many replicas at once.

Exam cues and common confusions

  • Least operations, pay per Pod: Autopilot; node-level control: Standard.
  • Pods calling Google APIs without keys: Workload Identity Federation for GKE.
  • Survive a zone failure: a regional cluster.
  • Pull private images: grant the node or workload identity Artifact Registry Reader.
  • Scale Pods: HPA; adjust requests: VPA.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake