Continental Innovates with Rancher and Kubernetes
The Horizontal Pod Autoscaler (HPA) is a Kubernetes feature that allows you to configure your cluster to automatically scale the services it’s running up or down.
Rancher provides some additional features to help manage HPAs, depending on the version of Rancher.
You can create, manage, and delete HPAs using the Rancher UI in Rancher v2.3.0-alpha4 and higher versions. It only supports HPA in the autoscaling/v2beta2 API.
The way that you manage HPAs is different based on your version of the Kubernetes API:
HPAs are also managed differently based on your version of Rancher:
You might have additional HPA installation steps if you are using an older version of Rancher:
In Rancher v2.3.x+, you can see your HPA’s current number of replicas by going to your project and clicking Resources > HPA. For more information, refer to Get HPA Metrics and Status.
You can also use kubectl to get the status of HPAs that you test with your load testing tool. For more information, refer to Testing HPAs with kubectl.