Google Cloud Associate Cloud Engineer — Question 309
Your existing application running in Google Kubernetes Engine (GKE) consists of multiple pods running on four GKE n1`"standard`"2 nodes. You need to deploy additional pods requiring n2`"highmem`"16 nodes without any downtime. What should you do?
Answer options
- A. Use gcloud container clusters upgrade. Deploy the new services.
- B. Create a new Node Pool and specify machine type n2ג€"highmemג€"16. Deploy the new pods.
- C. Create a new cluster with n2ג€"highmemג€"16 nodes. Redeploy the pods and delete the old cluster.
- D. Create a new cluster with both n1ג€"standardג€"2 and n2ג€"highmemג€"16 nodes. Redeploy the pods and delete the old cluster.
Correct answer: B
Explanation
The correct answer is B because creating a new Node Pool allows you to add nodes with different specifications without impacting the existing pods. Options A, C, and D either involve unnecessary downtime or do not meet the requirement of deploying additional pods seamlessly.