Workloads at Runtime
Learn how to change the number of Replicas for an active Deployment in Humanitec.
Horizontal scaling in Kubernetes is done by scaling the number of Pods for a Workload. The Kubernetes Autoscaler then uses the number of pending Pods to scale the cluster within the boundaries your DevOps team created. Humanitec makes it easy to change the number of Pods for any Workload in an active Deployment.
You can change the Number of Replicas for any Workload in an active Deployment from the Workload Details Screen.
- Click in the field for the target number of Replicas.
- Change the target number of Replicas either by entering a number or by clicking on the small arrows up or down.
- The number of Replicas will be changed accordingly.
Example for changing the number of Replicas for a Workload
Note, that the maximum number of Replicas per Workload is set by your DevOps team. If you are using Humanitec's demo cluster, the maximum number of Replicas for any given Workload is set to two.
You can see the status of each Pod within a Workload of an active Deployment by clicking on the number of the Pod in the Replicas section of the App Details Screen.