You created a regional GKE Standard cluster with a node pool called web-pool that currently runs a fixed size of 4 nodes. To reduce costs during off-hours you want the pool to scale automatically between 2 and 8 nodes without recreating the cluster or causing Pod disruption. Which gcloud command satisfies the requirement?
The gcloud container node-pools update command modifies an existing node pool in place. Adding the --enable-autoscaling flag together with --min-nodes and --max-nodes sets up the cluster autoscaler for that pool. Because the change is applied to the node pool directly, the cluster itself is untouched and running Pods continue to be respected by the PodDisruptionBudgets, so no recreation or downtime occurs. The other commands would either create a brand-new pool, attempt to resize the pool manually without autoscaling, or edit cluster-wide settings rather than the specific node pool.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a GKE Standard cluster?
Open an interactive chat with Bash
What is a PodDisruptionBudget (PDB)?
Open an interactive chat with Bash
How does cluster autoscaling work in GKE?
Open an interactive chat with Bash
What is a GKE Node Pool?
Open an interactive chat with Bash
What is Cluster Autoscaler in GKE?
Open an interactive chat with Bash
How does PodDisruptionBudget prevent downtime during scaling?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .