{"enrichment":{"faq":[{"a":"k8s-autoscaling enables HPA configuration for automatic pod scaling based on CPU and memory metrics. Deploy the metrics server, define HPA resources with target thresholds, and k8s-autoscaling provides templates and troubleshooting guidance. HPA continuously monitors metrics and adjusts replica counts within min/max bounds to maintain performance during traffic spikes.","q":"How to set up kubernetes horizontal pod autoscaling?"},{"a":"k8s-autoscaling covers three complementary scaling approaches: HPA scales pod replicas based on CPU/memory metrics; VPA right-sizes resource requests by analyzing actual usage patterns; KEDA enables event-driven scaling from queues, cron schedules, and custom triggers. Use HPA for horizontal scaling, VPA for resource optimization, and KEDA for queue-based or scheduled workloads.","q":"What's the difference between HPA, VPA, and KEDA in k8s-autoscaling?"},{"a":"k8s-autoscaling provides KEDA ScaledObjects configuration for queue-based and cron-triggered scaling. Define triggers for SQS, RabbitMQ, or cron schedules, set authentication credentials, and specify target metrics. KEDA monitors external events and scales pods to zero when inactive, enabling cost optimization for batch jobs and event-driven workloads.","q":"How can I configure event-driven scaling using KEDA for queue and cron triggers?"},{"a":"k8s-autoscaling implements scale-to-zero strategies through KEDA for event-driven workloads and VPA for right-sizing resources. Idle pods scale to zero, eliminating wasted compute costs. Combined with HPA stabilization windows and proper resource requests, k8s-autoscaling reduces infrastructure spend while maintaining performance during active periods.","q":"How does k8s-autoscaling help with scale-to-zero and cost optimization?"},{"a":"k8s-autoscaling provides troubleshooting guidance for scaling issues: verify metrics server installation, check HPA status and events, confirm resource requests are set, validate metric thresholds, and review stabilization windows. Common causes include missing metrics, incorrect target values, or insufficient resource definitions. k8s-autoscaling includes diagnostic tools to identify and resolve these problems.","q":"What should I do if HPA is not scaling my pods?"},{"a":"k8s-autoscaling supports custom metrics HPA v2 with Prometheus integration for scaling beyond CPU/memory. Configure custom metric queries, set up metric adapters, and define HPA rules targeting Prometheus metrics. This enables scaling based on application-specific metrics like request latency, queue depth, or business KPIs collected by Prometheus.","q":"How does k8s-autoscaling use Prometheus metrics for custom HPA scaling?"}],"shadow_tags":["pod-scaling","event-driven-workloads","cost-optimization","metrics-based","capacity-planning","queue-processing","resource-rightsizing","zero-downtime-scaling"],"summary_rewrite":"Set up automatic scaling for Kubernetes workloads using HPA for CPU/memory-based scaling, VPA for resource optimization, and KEDA for event-driven scenarios like queue processing and scheduled scaling. Includes tools for detecting installations, managing scaled objects, and troubleshooting common scaling issues."},"files":[{"bytes":5210,"path":"kubernetes-skills/claude/k8s-autoscaling/SKILL.md","sha256":"1aa9a3995f43070a36543e2b2d62509784aee7242008a63e1bd00584654695b5","url":"https://skillfed.io/files/rohitg00/kubectl-mcp-server/k8s-autoscaling/08a011e3/SKILL.md"}],"id":"rohitg00/kubectl-mcp-server/k8s-autoscaling","links":{"html":"https://skillfed.io/rohitg00/kubectl-mcp-server/k8s-autoscaling","md":"https://skillfed.io/rohitg00/kubectl-mcp-server/k8s-autoscaling.md","repo":"https://github.com/rohitg00/kubectl-mcp-server"},"meta":{"agents_supported":["claude-code"],"first_seen":"2026-07-28","forks":177,"language":"Python","last_updated":"2026-04-08","license":"MIT","name":"k8s-autoscaling","publisher":"rohitg00","stars":934},"relations":{"similar":[{"id":"rohitg00/kubectl-mcp-server/k8s-cost"},{"id":"ancoleman/ai-design-components/operating-kubernetes"},{"id":"dawiddutoit/custom-claude/gcp-gke-cost-optimization"},{"id":"JosiahSiegel/claude-plugin-marketplace/aks-automatic-2025"},{"id":"google/skills/gke-workload-scaling"},{"id":"BagelHole/DevOps-Security-Agent-Skills/llm-inference-scaling"},{"id":"google/skills/gke-cost-optimization"},{"id":"pedronauck/skills/kubernetes-specialist"},{"id":"Jeffallan/claude-skills/kubernetes-specialist"},{"id":"NickCrew/Claude-Cortex/kubernetes-deployment-patterns"}]},"slug":{"owner":"rohitg00","repo":"kubectl-mcp-server","skill":"k8s-autoscaling"},"version":"08a011e3"}
