Soru

Zorluk: KolayDeploying and Managing Google Kubernetes Engine (GKE) Clusters and Workloads

A cloud engineering team is provisioning a new node pool in an existing GKE Standard cluster specifically to execute fault-tolerant, stateless batch processing jobs. The team needs to minimize compute costs for these workloads while ensuring nodes can be preempted if Google Cloud requires the capacity. Which configuration should they select when creating the node pool?

  1. Enable Spot VMs on the new node pool.Cevap
  2. B
    Configure Horizontal Pod Autoscaler (HPA) to scale the node pool instance count.
  3. C
    Migrate the workload to a GKE Autopilot cluster configured with custom node kernel parameters.
  4. D
    Deploy the workload manifest using kubectl before authenticating with gcloud container clusters get-credentials.

Cevap

Enabling Spot VMs on the new node pool is the Google-recommended approach for running cost-effective, fault-tolerant batch workloads in GKE.
Enabling Spot VMs on a GKE node pool allows stateless and interruption-tolerant workloads to run on spare compute capacity at a steep discount, achieving maximum cost savings for batch processing.

Adım Adım Çözüm

1
Analyze workload requirements
The workload consists of stateless, fault-tolerant batch processing tasks capable of handling instance termination.
Fault-tolerant batch jobs do not require guaranteed VM availability.
2
Identify cost optimization features in GKE node pools
Spot VMs provide significant discounts (up to 60-91% off standard pricing) in exchange for potential preemption.
Google Cloud permits Spot VMs to be reclaimed when capacity is needed elsewhere, making them optimal for batch processing.

Anahtar Kavram

GKE Spot VM Node Pools for Batch Processing
Bu soruyu puanla