QuestionQ51

VerifiedEnsuring the successful operation of a cloud solution

You have several hundred microservice applications running in a Google Kubernetes Engine (GKE) cluster. Each microservice is a deployment with resource limits configured for each container in the deployment. You've observed that the resource limits for memory and CPU are not appropriately set for many of the microservices. You want to ensure that each microservice has right sized limits for memory and CPU. What should you do?

Explanation

Vertical Pod Autoscaler (VPA) is specifically designed to analyze actual resource usage and automatically adjust CPU and memory requests and limits for each pod. This right-sizes resources based on real workload patterns rather than guesswork. Horizontal Pod Autoscaler adds more pods (not right-sizing), and cluster autoscaling adds nodes without addressing per-container sizing.

Community Discussion

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