From aj-geddes-useful-ai-prompts-4
Configures autoscaling for Kubernetes, VMs, and serverless workloads using metrics, schedules, and custom indicators to optimize cost and performance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:autoscaling-configurationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Implement autoscaling strategies to automatically adjust resource capacity based on demand, ensuring cost efficiency while maintaining performance and availability.
Minimal working example:
# hpa-configuration.yaml
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: myapp-hpa
namespace: production
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: myapp
minReplicas: 2
maxReplicas: 20
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
- type: Resource
resource:
name: memory
target:
type: Utilization
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Kubernetes Horizontal Pod Autoscaler | Kubernetes Horizontal Pod Autoscaler |
| AWS Auto Scaling | AWS Auto Scaling |
| Custom Metrics Autoscaling | Custom Metrics Autoscaling |
| Autoscaling Script | Autoscaling Script |
| Monitoring Autoscaling | Monitoring Autoscaling |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Configures auto-scaling policies for AWS ASG, GCP MIG, Azure VMSS, and Kubernetes HPA. Generates Terraform, YAML, or CLI configs with metric thresholds and cooldowns.
Provides AWS CloudFormation templates for Auto Scaling Groups on EC2, ECS, and Lambda, including launch configurations/templates, scaling policies, lifecycle hooks, predictive scaling, and best practices for high availability.
Provides guidance on Kubernetes deployment strategies (rolling, blue-green, canary), workload types (Deployment, StatefulSet, DaemonSet, Job), resource management, and autoscaling for production-grade applications.