Topic 1 Question 275
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?
Configure a Vertical Pod Autoscaler for each microservice.
Modify the cluster's node pool machine type and choose a machine type with more memory and CPU.
Configure a Horizontal Pod Autoscaler for each microservice.
Configure GKE cluster autoscaling.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: A
Here's why a Vertical Pod Autoscaler (VPA) is the most suitable solution for this scenario:
Right-Sizing Resources: VPA is designed to automatically adjust the resource requests and limits (CPU and memory) for pods based on their actual usage. This ensures that pods have enough resources to run efficiently without being over-provisioned, which can lead to wasted resources and higher costs.
Automated Optimization: VPA continuously monitors the resource usage of your pods and recommends optimal settings. You can choose to apply these recommendations automatically or manually, giving you flexibility and control over the process.
Microservice-Specific Tuning: By configuring a VPA for each microservice, you can fine-tune the resource allocation for each individual service based on its specific needs and usage patterns. This is more efficient than making blanket changes to the entire cluster or node pool.
👍 5RuchiMishra2024/07/16 - 正解だと思う選択肢: A
A seems better
👍 2user6362024/07/21 - 正解だと思う選択肢: A
Vertical is for more specific resources of the individual pods. Horizontal is for creating more copies of the instances (adding more pods).
👍 2flummoxed_individual2024/07/24
シャッフルモード