# Is automatic scaling possible?

**URL:** https://community.okteto.com/t/is-automatic-scaling-possible/121
**Category:** How Do I?
**Created:** [June 10, 2022, 9:56am UTC](https://community.okteto.com/t/is-automatic-scaling-possible/121 "2022-06-10T09:56:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![polishedstudios](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@polishedstudios](https://community.okteto.com/u/polishedstudios)
#### Post date: [June 10, 2022, 9:56am UTC](https://community.okteto.com/t/is-automatic-scaling-possible/121/1 "2022-06-10T09:56:51Z")

</div>

I would like to know if automatic horizontal and/or vertical scaling is possible within Okteto, or if there are any limitations on it.

---

<div class="post-metadata">

### Author: ![gabriel](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@gabriel](https://community.okteto.com/u/gabriel)
#### Post date: [June 13, 2022, 7:39am UTC](https://community.okteto.com/t/is-automatic-scaling-possible/121/2 "2022-06-13T07:39:04Z")

</div>

Yes, you should be able to configure HPA:

> **[Horizontal Pod Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)**
>
> In Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.
> Horizontal scaling means that the response to increased load...

In Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand. Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload. If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.
