100% Private

Kubernetes HPA Generator - Horizontal Pod Autoscaler

Generate Kubernetes HPA manifests for automatic scaling. Configure CPU, memory, and custom metrics targets with min/max replicas and scale-down behavior.

Scale Target
Metrics
Scaling Behavior (v2)
kubectl Commands
# Apply HPA
kubectl apply -f hpa.yaml

# Check HPA status
kubectl get hpa my-app-hpa -n default

# Watch scaling events
kubectl get hpa -w

# Describe for details
kubectl describe hpa my-app-hpa -n default

# Check metrics-server is running
kubectl get deployment metrics-server -n kube-system
Prerequisites
# Install metrics-server (required for CPU/memory metrics)
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml

# Verify metrics are available
kubectl top pods -n default

# Target deployment must have resource requests defined
# for percentage-based utilization metrics to work

Related Tools

View all Kubernetes configurators →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.