Kubernetes and Cloud Native Associate (KCNA) — Question 127
Which mechanism can be used to automatically adjust the amount of resources for an application?
Answer options
- A. Horizontal Pod Autoscaler (HPA)
- B. Kubernetes Event-driven Autoscaling (KEDA)
- C. Cluster Autoscaler
- D. Vertical Pod Autoscaler (VPA)
Correct answer: D
Explanation
The Vertical Pod Autoscaler (VPA) is designed to automatically adjust the resource requests and limits for containers in a pod based on their usage. The Horizontal Pod Autoscaler (HPA) scales the number of pods, KEDA focuses on event-driven scaling, and the Cluster Autoscaler adjusts the number of nodes, but none of these modify the resources allocated to individual pods.