Why architecture matters here
GKE fails on cost (unbounded autoscale), security (unsigned images, wide IAM), and upgrades (poorly planned control plane windows). Architecture matters because Autopilot vs Standard, workload identity, and Binary Authorization decide operational overhead + safety.
The architecture: every piece explained
The top strip is compute. Cluster mode — Standard (node-managed) or Autopilot (Google manages nodes). Control plane is Google-managed masters. Node pools for hardware variety. Autoscaler horizontal + cluster.
The middle row is identity + network. Workload identity maps Kubernetes ServiceAccount to GCP Service Account. VPC-native gives pods alias IPs. Gateway / Ingress L7 with policies. Binary Authorization enforces signed images.
The lower rows are governance. Config Sync + policy GitOps. Observability in Google Cloud stack. Ops upgrades + cost + regional design.
End-to-end flow
End-to-end: Autopilot cluster created. Pods get workload identity mapped to GCP SA reading secrets. VPC-native means pods reachable inside VPC. Gateway routes external traffic with WAF policies. Binary Authorization ensures only signed images ship. Config Sync applies GitOps. Metrics + logs in Cloud Logging. Cluster autoscales; regional for HA.