Overview and What You Will Learn
GKE Autopilot is a mode where Google manages the cluster's nodes for you and bills per pod resource request. GKE Standard is a mode where you create and manage node pools yourself and pay per node. Both run the same Kubernetes API. In this lab, you will create one cluster of each mode, deploy the same application to both, and compare what you manage, what you can see, and what you are billed for.
Why This Matters in Production
A small platform team at a company like Atlassian picks Standard mode and then spends a large share of its time sizing node pools, scheduling node upgrades, and tuning the cluster autoscaler, for services that never needed node-level control. Autopilot would have removed that work and billed only for what the pods requested. The reverse mistake also happens: a team picks Autopilot and later finds that a privileged DaemonSet or custom node configuration is not allowed.
Core Principles
Both modes accept the same Deployments, Services and manifests. The difference is who owns the node layer, and that decides how you are billed and what you can customise.
control?} Q -->|No| A[GKE Autopilot
Google manages nodes] Q -->|Yes| S[GKE Standard
you manage node pools] A --> AB([Billed per pod
resource request]) S --> SB([Billed per node
VM, used or idle]) classDef start fill:#D1FAE5,color:#1E293B classDef auto fill:#326CE5,color:#FFFFFF classDef std fill:#8B5CF6,color:#FFFFFF classDef bill fill:#FFEDD5,color:#1E293B class W start class A auto class S std class AB,SB bill
The two modes compare like this:
| Area | Autopilot | Standard |
|---|---|---|
| Node management | Google provisions, sizes and patches | You choose and manage node pools |
| Billing unit | Pod CPU, memory and storage requests | Node VMs, whatever their utilisation |
| Node access | No SSH, restricted privileged workloads | Full node access and custom node config |
In Autopilot, a pod that does not declare resource requests receives defaults, and you are billed for the requests, not for actual usage. Unused capacity on a node is Google's problem, not yours. In Standard, an underused node costs the same as a full one, so bin-packing efficiency becomes your responsibility.
Detailed Step-by-Step Practical Lab
Set the variables used throughout the lab. Project IDs are globally unique, so change the suffix if the create command fails.
export PROJECT_ID=gcp-gke-lab-mumbai-2026export REGION=asia-south1export ZONE=asia-south1-a- Create the project, link billing, and enable the GKE API. Also install the kubectl auth plugin if you have not already:
gcloud projects create $PROJECT_ID --name="GKE Modes Lab"gcloud config set project $PROJECT_IDgcloud billing projects link $PROJECT_ID \ --billing-account=012345-6789AB-CDEF01gcloud services enable container.googleapis.comgcloud components install gke-gcloud-auth-plugin- Create an Autopilot cluster. No node pool, machine type or node count is specified, because Autopilot decides those. Creation takes several minutes:
gcloud container clusters create-auto gke-autopilot-lab \ --region=$REGION- Create a Standard cluster. Here you must choose the node count and machine type yourself:
gcloud container clusters create gke-standard-lab \ --zone=$ZONE \ --num-nodes=2 \ --machine-type=e2-medium- Deploy the same application to the Autopilot cluster and wait for it. The first pod can take a minute longer because Autopilot has to provision a node for it:
gcloud container clusters get-credentials gke-autopilot-lab --region=$REGIONkubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:1.0kubectl rollout status deployment/hello-app --timeout=300s- Deploy the same application to the Standard cluster:
gcloud container clusters get-credentials gke-standard-lab --zone=$ZONEkubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:1.0kubectl rollout status deployment/hello-app --timeout=300s- Compare the nodes. On Standard you see the two nodes you asked for. Switch back to Autopilot and notice that the nodes exist and were sized by Google to fit the pods, not chosen by you:
kubectl get nodes gcloud container clusters get-credentials gke-autopilot-lab --region=$REGIONkubectl get nodes- Compare resource requests. You never set any, so Autopilot filled in defaults on your Deployment, and these requests are what you are billed for. Standard leaves the field empty:
kubectl get deployment hello-app \ -o jsonpath='{.spec.template.spec.containers[0].resources}{"\n"}' gcloud container clusters get-credentials gke-standard-lab --zone=$ZONEkubectl get deployment hello-app \ -o jsonpath='{.spec.template.spec.containers[0].resources}{"\n"}'- List the node pool you own on the Standard cluster. This is the layer you size, patch and pay for:
gcloud container node-pools list \ --cluster=gke-standard-lab \ --zone=$ZONE- Clean up both clusters, then the project:
gcloud container clusters delete gke-autopilot-lab --region=$REGION --quietgcloud container clusters delete gke-standard-lab --zone=$ZONE --quietgcloud projects delete $PROJECT_ID --quietProduction Best Practices & Common Pitfalls
Common MistakeChoosing Standard by default out of familiarity with managing nodes, without checking whether the workload needs node-level control. Custom kernel parameters, privileged DaemonSets and direct node access are the usual reasons Standard is genuinely required.
TipStart new workloads on Autopilot unless you can name a concrete need for Standard. Set realistic CPU and memory requests on every container, because in Autopilot those requests are your bill.
RememberAutopilot bills for requests, not usage. An over-generous request costs money even when the pod sits idle, so rightsize requests the same way you would rightsize a VM.
- Autopilot ships with hardened defaults. Workload Identity Federation, Shielded GKE Nodes and limits on privileged containers are built in, while Standard leaves most of them as choices you must make.
- Autopilot supports more than people expect. GPU workloads and compute classes for specific hardware are available, so check current documentation before assuming a workload needs Standard.
- Standard rewards careful bin-packing. Teams with steady, predictable load and strong node-tuning skills can lower cost with committed use discounts and well-packed node pools.
- Both modes have a cluster management fee. Compare current pricing for your region and account before estimating the monthly cost.
Quick Reference & Troubleshooting Commands
| Command | Description |
|---|---|
gcloud container clusters create-auto NAME --region=REGION |
Create an Autopilot cluster |
gcloud container clusters create NAME --zone=ZONE |
Create a Standard cluster |
gcloud container clusters get-credentials NAME |
Point kubectl at a cluster |
gcloud container node-pools list --cluster=NAME |
List node pools you manage on Standard |
kubectl get nodes |
See the nodes backing the cluster |
kubectl describe pod POD_NAME |
Check scheduling events when a pod stays Pending |