Google Cloud in Production · Running Workloads: Cloud Run and GKE
403 From Inside the Pod
Pods either got 403s calling Google APIs or, worse, silently used the node's over-privileged service account. Use Workload Identity Federation for GKE with one Kubernetes ServiceAccount per workload.
Scenario
Example team: a GKE Standard cluster created years ago uses the Compute Engine default service account on its nodes, which has the Editor role. Pods call Cloud Storage and Pub/Sub using whatever credentials the node gives them. A new cluster is created with Workload Identity enabled, and workloads are moved across.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Google Cloud in Production course are part of the membership.
Reference for this lesson
Free pages on the services and comparisons in this lesson.
- Google Kubernetes Engine (GKE) · Service
Open in the app to mark lessons complete, take notes and track your progress.