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.

Members can save this page, take notes and track progress. See membership · Sign in

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.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

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

Was this page helpful?

Report a mistake