An application deployed on a Google Kubernetes Engine (GKE) cluster experiences fluctuating user traffic throughout the day. You need to ensure that the number of Pod replicas automatically increases or decreases based on CPU utilization metrics. Which Kubernetes object should you configure?
- Horizontal Pod Autoscaler (HPA)Cevap
- BCluster Autoscaler
- CGKE Autopilot Mode
- DSpot VM Node Pool auto-provisioning
Cevap
Configure a Horizontal Pod Autoscaler (HPA) to scale the number of Pod replicas based on CPU utilization.
The Horizontal Pod Autoscaler (HPA) is the standard Kubernetes resource designed to scale the number of Pod replicas in a deployment, replica set, or stateful set based on resource metrics like CPU utilization.
Adım Adım Çözüm
Anahtar Kavram
Managing Workload Scaling with Horizontal Pod Autoscaler vs Node-level Cluster Autoscaler in GKE
Tahmini Süre:45s