بنقرة واحدة
debug-vpa
Debug Vertical Pod Autoscaler issues by checking metrics, recommender logs, and eviction events.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Debug Vertical Pod Autoscaler issues by checking metrics, recommender logs, and eviction events.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | debug_vpa |
| description | Debug Vertical Pod Autoscaler issues by checking metrics, recommender logs, and eviction events. |
Follow these steps to diagnose issues with VPA not recommending resources or not updating pods.
VPA relies on the Metrics Server to gather historical usage data. If it's down, VPA won't work.
kubectl get deployment metrics-server -n kube-system
kubectl top nodes
kubectl top pods -A
If kubectl top fails or returns "Metrics not available", the Metrics Server is the issue.
Ensure the VPA recommender, updater, and admission-controller are running.
kubectl get pods -n kube-system -l app.kubernetes.io/name=vpa
Check the VPA object for Conditions and Recommendations.
kubectl get vpa -A
kubectl describe vpa <vpa-name> -n <namespace>
Look for Provided condition being True. If False, check the message field.
If recommendations are missing, check the recommender logs.
kubectl logs -n kube-system -l app=vpa-recommender
Look for permission errors or "no metrics" warnings.
If recommendations exist but pods aren't updating, check if the VPA Updater is evicting pods.
kubectl get events -n <namespace> --sort-by='.lastTimestamp'
Look for EvictedByVPA events.