configuring-auto-scaling-policies

Generate Kubernetes HPA configurations for auto-scaling based on CPU, memory, or custom metrics.

2.6k|379|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus --skill configuring-auto-scaling-policies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configuring-auto-scaling-policies
Source: https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/plugins/devops/auto-scaling-configurator/skills/auto-scaling-configurator
Command: npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus --skill configuring-auto-scaling-policies

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill empowers Claude to create and configure auto-scaling policies tailored to specific application and infrastructure needs. It streamlines the process of setting up dynamic resource allocation, ensuring optimal performance and resilience for various platforms.

Core Features & Use Cases

  • HPA Configuration: Generate Horizontal Pod Autoscaler (HPA) configurations for Kubernetes.
  • Dynamic Scaling Policies: Set up policies based on CPU, memory, or custom metrics.
  • High Availability: Implement fault tolerance and resilience through automated scaling.
  • Use Case: Configure auto-scaling for a Kubernetes web application to scale up when CPU usage exceeds 70%, ensuring performance during traffic spikes.

Quick Start

User request: "I need to configure auto-scaling for my web application in Kubernetes based on CPU utilization. Scale up when CPU usage exceeds 70%."

The skill will:

  1. Analyze the request and identify the need for a Kubernetes HPA configuration.
  2. Generate an HPA configuration file that scales the web application based on CPU utilization, with a target threshold of 70%.

Frequently Asked Questions about configuring-auto-scaling-policies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure auto-scaling for Kubernetes applications based on CPU usage?

Configure auto-scaling using Kubernetes Horizontal Pod Autoscaler (HPA) by defining target CPU thresholds and replica limits. HPA automatically scales pod count up or down based on observed CPU utilization, triggering scale-up actions when usage exceeds your threshold and scale-down when demand drops.

What metrics can I use to trigger auto-scaling policies in Kubernetes?

Auto-scaling policies support CPU and memory utilization as standard metrics, plus custom metrics from your monitoring stack. You define target thresholds for each metric, and the HPA computes desired replicas to maintain performance during traffic spikes and reduce costs during low-demand periods.

Can I use auto-scaling policies across different cloud platforms?

Auto-scaling policies vary by platform: Kubernetes uses HPA for pod-level scaling, while cloud providers offer infrastructure-level auto-scaling groups. This skill generates platform-specific configurations for Kubernetes deployments, cloud infrastructure, and dynamic resource allocation scenarios tailored to your environment.

How does auto-scaling improve high availability and fault tolerance?

Auto-scaling ensures applications maintain performance and availability by automatically adding replicas during traffic surges and removing them during low demand. This distributes load across healthy instances, reducing single points of failure and enabling automatic recovery from resource constraints.

What should I configure before setting up auto-scaling policies?

Before configuring auto-scaling, establish resource requests and limits for your pods, enable metrics collection from your monitoring system, and define scaling thresholds based on your application's performance requirements and business objectives for cost and availability.

Why might auto-scaling not work as expected in my Kubernetes cluster?

Common issues include missing or misconfigured resource requests, disabled metrics-server, thresholds set too high or low, or insufficient cluster capacity for scaling up. Verify metrics are collecting data, pods declare CPU/memory requests, and your cluster has headroom to schedule additional replicas.