GKE interview question

How do you give a GKE workload access to a Cloud SQL database securely?

How you'd do it

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

Summary

Use Workload Identity for the Pod, grant its identity roles/cloudsql.client (and IAM database authentication if possible), and connect through the Cloud SQL Auth Proxy sidecar or a language connector over private IP. No passwords in Secrets, no public IPs.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More GKE questions

← All GKE questions

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

Was this page helpful?

Report a mistake