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.)
- 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
- Cluster Autoscaler automatically resizes node pools by adding nodes when pods are unschedulable due to resource constraints and removing underutilized nodes.Cevap
- CHorizontal Pod Autoscaler (HPA) directly provisions additional Compute Engine virtual machine instances to expand overall cluster compute node capacity.
- DSpot 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
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