k8s-autoscaling

Automate Kubernetes autoscaling configuration and validation across HPA, VPA, and KEDA.

944|179|Updated Mar 23, 2025
One-click install
npx skills add https://github.com/rohitg00/kubectl-mcp-server --skill k8s-autoscaling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-autoscaling
Source: https://github.com/rohitg00/kubectl-mcp-server/tree/main/kubernetes-skills/claude/k8s-autoscaling
Command: npx skills add https://github.com/rohitg00/kubectl-mcp-server --skill k8s-autoscaling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates Kubernetes autoscaling configuration and validation across HPA, VPA, and KEDA using kubectl-mcp-server.

Core Features & Use Cases

  • CPU/Memory-based autoscaling: leverage HPA to maintain optimal resource utilization.
  • Vertical scaling: apply VPA recommendations to right-size requests.
  • Event-driven autoscaling: integrate with KEDA to scale on custom events and metrics.
  • Validation & safety: ensure metrics-server readiness and proper trigger configurations before scaling.

Quick Start

Create and apply a YAML manifest for your autoscaler, then verify the HPA/VPA/KEDA status with kubectl and the kubectl-mcp-server commands.

Frequently Asked Questions about k8s-autoscaling

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

FAQPage Schema
How do I configure Kubernetes autoscaling for CPU and memory utilization?

Kubernetes autoscaling for CPU and memory uses Horizontal Pod Autoscaler (HPA) manifests to maintain optimal resource utilization. This skill automates HPA YAML manifest generation and validates metrics-server readiness before applying scaling configurations.

Can I use KEDA for event-driven autoscaling on Kubernetes deployments?

Yes, KEDA enables event-driven autoscaling on Kubernetes deployments by integrating custom events and metrics. This skill automates KEDA configuration including proper TriggerAuthentication setups and validation steps for scaling deployments, statefulSets, and jobs.

What is the best way to right-size Kubernetes resource requests with VPA?

Vertical Pod Autoscaler (VPA) right-sizes Kubernetes resource requests by applying automated recommendations. This skill automates VPA configuration to vertically scale pods and validates the setup using kubectl-mcp-server commands.

Do I need metrics-server ready before applying HPA or KEDA configurations?

Yes, metrics-server readiness is strictly required before applying HPA or KEDA configurations. This skill enforces validation steps to ensure metrics-server is running properly to prevent autoscaling failures.

How do I validate Kubernetes autoscaling status after applying YAML manifests?

Validate Kubernetes autoscaling status by applying YAML manifests and checking HPA, VPA, or KEDA status using kubectl and kubectl-mcp-server commands. This skill automates these validation steps to ensure proper trigger configurations.