Section: Autoscaling

List HPAs

bash
bash
kubectl get hpa -A
Explanation

Show HorizontalPodAutoscalers.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Autoscaling
Create HPA
Create a HorizontalPodAutoscaler for a deployment.
OpenIn sheetbashsame section
Describe HPA
Inspect metrics, thresholds, and scaling recommendations.
OpenIn sheetbashsame section
List replicasets
Show ReplicaSets created by Deployments.
OpenIn sheetbashsame section
Scale replicaset
Directly scale a ReplicaSet when needed.
OpenIn sheetbashsame section
Describe replicaset
Inspect pod template and controller ownership.
OpenIn sheetbashsame section
List deployments
Show deployments across namespaces.
OpenIn sheetbash1 tag match