GCP ACE · Question 35 · Domain 4.2: Managing GKE resources
Your GKE cluster is running out of compute capacity. You need to manually increase the number of nodes in the 'default-pool' from 3 to 5.
Which command should you use?
Answer options:
kubectl scale node-pool default-pool --replicas=5
gcloud compute instance-groups managed resize default-pool --size=5
gcloud container clusters resize [CLUSTER_NAME] --node-pool=default-pool --num-nodes=5
kubectl resize cluster [CLUSTER_NAME] --nodes=5
50 questions · hints · full answers · grading