You administer a standard GKE cluster in us-central1 that has a single default node pool of n1-standard-4 VMs. A new containerized batch workload requires NVIDIA T4 GPUs for occasional processing bursts. The workload must not evict existing Pods that do not need GPUs, and you want the GPU capacity to scale to zero when no GPU jobs are queued to minimize cost. Which approach satisfies these requirements with the least disruption to current workloads?
Turn on cluster autoscaling for the default node pool, set the minimum size to zero, and deploy the GPU workload as normal Pods without special scheduling rules.
Create a new node pool that uses an n1-standard-4 machine type with one nvidia-tesla-t4 accelerator, add a NoSchedule taint to the pool, add matching tolerations to the batch Pods, and enable autoscaling with 0-1 nodes.
Update the existing default node pool to attach NVIDIA T4 GPUs and set its autoscaler to a 0-1 node range.
Package the batch workload as a container image and deploy it to Cloud Run, which automatically provisions GPU instances on demand.
Because GPUs cannot be retrofitted onto an existing node pool, you must create a separate node pool that is configured with the required accelerator type. Applying a NoSchedule taint to the GPU nodes and adding matching tolerations on the GPU-based Pods prevents non-GPU workloads from being scheduled there, isolating the resources. Enabling node-level autoscaling with a minimum size of 0 allows the GPU pool to scale down to zero nodes when the batch job is idle, ensuring cost efficiency. Updating the existing pool (not supported), merely enabling autoscaling without GPUs, or moving the job to Cloud Run would all fail to meet the functional or technical requirements.
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 NoSchedule taint in Kubernetes?
Open an interactive chat with Bash
How does cluster autoscaling work in GKE?
Open an interactive chat with Bash
Why can't GPUs be added to an existing node pool in GKE?
Open an interactive chat with Bash
What is a 'NoSchedule taint' in Kubernetes?
Open an interactive chat with Bash
What are GPU node pools in GKE, and why can't GPUs be added to an existing node pool?
Open an interactive chat with Bash
How does enabling autoscaling from 0 nodes minimize costs in a GKE cluster?
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 .