Skip to content

GKE Autopilot Overview

Autopilot is a managed mode of operation in Google Kubernetes Engine (GKE) where Google manages your infrastructure configuration, including nodes, scaling, security, and other preconfigured settings.

What is Autopilot?

Autopilot mode is optimized to run most production workloads, and provisions compute resources based on your Kubernetes manifests. You can run an entire cluster in Autopilot mode, or run specific workloads in Autopilot mode within GKE Standard clusters.

Benefits

Key Benefits Summary

BenefitDescription
Focus on AppsGoogle manages infrastructure; you build and deploy applications
SecurityDefault hardened configuration with automatic security patches
PricingSimplified billing forecasts and attribution
Node ManagementNo need to create nodes or configure upgrades
ScalingAutomatic node provisioning with HPA support
Resource ManagementPre-configured defaults if not specified
NetworkingNetwork security features enabled by default
Release ManagementAutomatic enrollment in release channels

Container-Optimized Compute Platform

In GKE version 1.32.3-gke.1927002 and later, Autopilot includes a specialized container-optimized compute platform:

Platform Benefits

  • Compute capacity matches workloads: Dynamically adjusts based on Pod count and resource consumption
  • Fast scaling times: Dynamic resizing means Pods don't need to wait for new nodes

Pricing Model

Workload TypeBilling ModelExample
General-purpose PodsPod-basedContainer-optimized platform, Balanced/Scale-Out ComputeClasses
Specific hardware PodsNode-basedGPU workloads, specific machine series

Planning Your Clusters

Networking Options

Use CaseSolution
Expose apps to internetUse Services
Internal communicationConfigure Network Policies
Multi-cluster connectivityUse Multi-cluster Services (MCS)
External HTTP(S) trafficUse Ingress for Application Load Balancers
Internal trafficUse Internal Load Balancers
Network securityGKE Dataplane V2 with network policies

Scaling Configuration

Key Points:

  • Autopilot automatically scales nodes based on Pod count
  • Clusters can scale down to zero nodes with no running workloads
  • Use Horizontal Pod Autoscaling for automatic Pod scaling

Security Features

Autopilot clusters enable security best practices by default:

Deploying Workloads

Workload Deployment Options

Use CaseSolution
Control node propertiesCreate custom ComputeClass
Run Autopilot in Standard clusterUse Autopilot ComputeClass
Run Arm workloadsRequest Arm CPU machine series
AI/ML workloadsRequest GPUs in manifest
Batch jobs at lower costUse Spot Pods or autopilot-spot ComputeClass
Minimal disruptionsUse safe-to-evict=false annotation
Pod burstingSet limits higher than requests

Workload Separation

Pod Scheduling Controls

FeatureDescription
Zonal TopologyPlace Pods in specific Google Cloud zones
Pod AffinityColocate Pods on same nodes
Pod Anti-affinitySpread Pods across nodes
Topology SpreadControl Pod distribution across topology domains

Managing and Monitoring

Version Upgrades

All Autopilot clusters are enrolled in a GKE release channel:

  • Rapid: Latest features
  • Regular: Balanced stability (default)
  • Stable: Most tested versions

Monitoring

Autopilot clusters have built-in observability:

TypeFeatures
LogsSystem logs, Workload logs, Audit logs
MetricsSystem metrics, Workload metrics (via Prometheus)
DashboardsGKE dashboard, Observability dashboard
SecuritySecurity posture dashboard

Quick Start

bash
# Create an Autopilot cluster
gcloud container clusters create-auto my-autopilot-cluster \
    --region=us-central1

# Get credentials
gcloud container clusters get-credentials my-autopilot-cluster \
    --region=us-central1

# Deploy a workload
kubectl create deployment hello-server \
    --image=us-docker.pkg.dev/google-samples/containers/gke/hello-app:1.0

# Expose the deployment
kubectl expose deployment hello-server \
    --type=LoadBalancer \
    --port=80 \
    --target-port=8080

Last updated: December 2025

Built with VitePress & Mermaid diagrams