Soru

Zorluk: KolayManaging Google Kubernetes Engine Resources

An administrator is configuring operational scaling parameters for a Google Kubernetes Engine (GKE) cluster. Which of the following statements accurately describe GKE resource scaling mechanisms? (Select TWO.)

  1. Horizontal Pod Autoscaler (HPA) automatically increases or decreases the number of pod replicas in a deployment based on observed CPU utilization or custom metrics.Cevap
  2. Cluster Autoscaler automatically resizes node pools by adding nodes when pods are unschedulable due to resource constraints and removing underutilized nodes.Cevap
  3. C
    Horizontal Pod Autoscaler (HPA) directly provisions additional Compute Engine virtual machine instances to expand overall cluster compute node capacity.
  4. D
    Spot VM node pools should be selected to ensure uninterrupted availability for non-fault-tolerant stateful databases.

Cevap

Horizontal Pod Autoscaler (HPA) scales pod replica counts based on workload demand metrics, while Cluster Autoscaler adjusts the underlying node count when pods cannot be scheduled due to resource constraints.
The correct options accurately distinguish between pod-level horizontal scaling (HPA) and node-level infrastructure scaling (Cluster Autoscaler). HPA increases or decreases pod replica count in response to utilization metrics, whereas Cluster Autoscaler provisions or terminates worker VM nodes when pods are unschedulable due to capacity limits.

Adım Adım Çözüm

1
Identify the role of pod-level scaling mechanisms in GKE.
Horizontal Pod Autoscaler (HPA) monitors metrics like CPU utilization and adjusts pod replica counts.
HPA functions inside Kubernetes to adjust workload application scaling.
2
Identify the role of infrastructure-level scaling mechanisms in GKE.
Cluster Autoscaler evaluates pending unschedulable pods and resizes node pools accordingly.
Node provisioning is managed by Cluster Autoscaler, not HPA.

Anahtar Kavram

Distinction between Horizontal Pod Autoscaler (HPA) for pod workload scaling and Cluster Autoscaler for node infrastructure scaling in GKE.
Tahmini Süre:1m 0s
Bu soruyu puanla