StudyToCert

All certifications / Associate Cloud Engineer / Lessons

Google Cloud Associate Cloud Engineer Associate Cloud Engineer · Domain 2: Planning and implementing a cloud solution

Deploying workloads to GKE with kubectl: Deployments, Services and Ingress

▶ Watch the overview video

Last reviewed September 25, 2026 · Leer en español

Before using kubectl on a GKE cluster, fetch credentials: gcloud container clusters get-credentials my-cluster --region=us-central1. This writes an entry to your kubeconfig so that kubectl talks to that cluster's API server using your Google identity. Access inside the cluster is controlled by IAM roles such as Kubernetes Engine Developer, and optionally Kubernetes RBAC.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 4 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Associate Cloud Engineer for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Associate Cloud Engineer study plan