QuestionQ52

VerifiedBuilding and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

Your team uses Cloud Build for every CI/CD pipeline. You want to use Cloud Build’s kubectl builder to deploy new images to Google Kubernetes Engine (GKE). You need to authenticate to GKE while minimizing development effort. What should you do?

Explanation

The Cloud Build service account is the identity used by Cloud Build steps. Granting it the Google Kubernetes Engine Developer (Container Developer) role provides the required GKE permissions for a kubectl deployment, avoiding a separate service account or manually retrieving and passing credentials.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!