A system administrator is managing a web application running on a Google Kubernetes Engine (GKE) cluster. The administrator needs to ensure that the number of running Pod replicas automatically increases when application CPU utilization rises and scales down when traffic drops. Which GKE or Kubernetes feature should the administrator configure?
- Horizontal Pod Autoscaler (HPA)Answer
- BCluster Autoscaler
- CGKE Autopilot cluster mode migration
- DSpot VM node pools
Answer
The administrator should configure the Horizontal Pod Autoscaler (HPA) to automatically scale the number of Pod replicas based on CPU utilization.
Configuring a Horizontal Pod Autoscaler (HPA) allows GKE to automatically scale the number of Pod replicas up or down depending on metric thresholds like CPU utilization.
Step-by-Step Solution
Key Concept
Horizontal Pod Autoscaler (HPA) vs Cluster Autoscaler