Your team uses Cloud Build for all CI/CD pipelines. You want to use the kubectl builder for Cloud Build to deploy new images to Google Kubernetes Engine (GKE) . You need to authenticate to GKE while minimizing development effort. What should you do?
A) Assign the Container Developer role to the Cloud Build service account.
B) Specify the Container Developer role for Cloud Build in the cloudbuild.yaml file.
C) Create a new service account with the Container Developer role and use it to run Cloud Build.
D) Create a separate step in Cloud Build to retrieve service account credentials and pass these to kubectl.
Correct Answer:
Verified
Q18: You are managing the production deployment to
Q19: You use a multiple step Cloud Build
Q20: You are running an application in a
Q21: Your team has recently deployed an NGINX-based
Q22: You need to deploy a new service
Q23: You need to reduce the cost of
Q24: You support an application running on GCP
Q25: You support an application that stores product
Q26: Your organization recently adopted a container-based workflow
Q27: Your application services run in Google Kubernetes
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents