Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You have a Kubernetes Engine cluster named 'project-1' with a node pool named 'primary-node-pool'. To meet increased capacity demands, you need to scale the number of nodes in this pool from 10 to 20. What is the correct command to achieve this?
A
gcloud container clusters update project-1 --node pool 'primary-node-pool' --num-nodes 20
B
kubectl container clusters update project-1 --node pool 'primary-node-pool' --num-nodes 20
C
gcloud container clusters resize project-1 --node pool 'primary-node-pool' --size 20
D
gcloud container clusters resize project-1 --node pool 'primary-node-pool' --num-nodes 20