QuestionQ65

VerifiedOptimizing performance and cost

You deployed an application to a large Standard Google Kubernetes Engine (GKE) cluster. The application is stateless, with multiple pods running concurrently. It receives variable traffic. You need to ensure a consistent user experience despite traffic changes while optimizing cluster resource usage.

What should you do?

Explanation

A Horizontal Pod Autoscaler automatically increases or decreases the number of replicas for a workload in response to metrics such as CPU, memory, custom metrics, or external traffic metrics. This lets a stateless application add Pods during demand increases and remove unneeded Pods when demand falls, preserving responsiveness while using capacity efficiently.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!