= Configuring the number of replicas for operand deployments using HorizontalPodAutoscaler (HPA)
Starting from this release, you can configure the number of replicas for operands using link: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ [HorizontalPodAutoscaler] (HPA):
[code, source]
----
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: scaler
namespace: {operator-namespace}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: __<deployment_name>__
...
----
The `__<deployment_name>__` in the snippet above corresponds to one of the following deployments:
* `che-server`
* `che-gateway`
* `dashboard`
* `plugin-registry`
* `devfile-registry`
Find more details about the HPA setup in the link: https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.12/html/administration_guide/configuring-devspaces#configuring-number-of-replicas-configuring-number-of-replicas [official documentation].