Choose the best description of what the Vertical Pod Autoscaler does in a Kubernetes cluster.
Think about resource allocation inside a pod rather than the number of pods.
The Vertical Pod Autoscaler changes the CPU and memory requests of pods to better fit their actual usage, helping pods run efficiently without manual tuning.
Given the command kubectl get vpa in a cluster with one VPA resource named my-app-vpa, what is the expected output?
kubectl get vpaThe command lists VPA resources and their current recommendations.
The kubectl get vpa command shows the VPA resources and their recommended CPU and memory settings for pods.
Identify the correct YAML snippet that configures a Vertical Pod Autoscaler with update mode set to Auto.
Check the exact field name and value for update mode in the VPA spec.
The correct field is updateMode under updatePolicy with the value Auto. Other variations are invalid keys or values.
Given a VPA configured with updateMode: Auto, pods still run with old resource requests despite high CPU and memory usage. What is a likely cause?
Think about how resource changes affect running pods.
VPA in Auto mode updates resource requests but cannot change resources of running pods immediately. Pods must be restarted to apply new requests.
When using both Vertical Pod Autoscaler and Horizontal Pod Autoscaler together, which practice helps avoid conflicts and ensures stable scaling?
Consider how resource changes and pod count scaling interact.
Using VPA in Initial mode sets resource requests only when pods start, avoiding conflicts with HPA which scales pod numbers dynamically.