> [!CAUTION]
> You are currently viewing version 1.1 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.1 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/scale-and-autoscale.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/scale-and-autoscale.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/scale-and-autoscale.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/scale-and-autoscale.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/scale-and-autoscale.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/scale-and-autoscale.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/scale-and-autoscale.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/scale-and-autoscale.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/scale-and-autoscale.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/scale-and-autoscale.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/scale-and-autoscale.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/scale-and-autoscale.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/scale-and-autoscale.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/scale-and-autoscale.md.txt)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/scale-and-autoscale.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/scale-and-autoscale.md.txt)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/scale-and-autoscale.md.txt)

You can scale most services running in Kubernetes from the
command line or in a configuration override. You can set scaling
parameters for Apigee hybrid runtime services in the
[`overrides.yaml` file](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/customize-services.md.txt).

How you scale and autoscale each service depends on the type of service.

> [!IMPORTANT]
> **TIP:** You can use the `-w` option to continuously watch your nodes, as the following example shows:
>
> ```
> kubectl get nodes -w ...
> ```

For more information on scaling, see the [Kubernetes](https://kubernetes.io) documentation.

The following table summarizes the hybrid runtime services and how you can scale and autoscale
them in configurations or from the command line:

| Service | Implemented As | Scaling |
|---|---|---|
| **Cassandra** | [StatefulSet](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/) | **(Scale up only)** To scale up on the command line, you can use the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/overview/) `scale` or `patch` options. To scale up via configuration, set the value of the [`cassandra`](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/config-prop-ref.md.txt#cassandra) object's `replicaCount` configuration property in the overrides.yaml file. > [!NOTE] > **NOTE:** The default replication factor for all keyspaces is three. As a result, Apigee recommends that you scale the replicas by a factor of three. For more information on setting configuration properties, see [Manage runtime plane components](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/customize-services.md.txt). StatefulSets do not support autoscaling. Cassandra is deployed in sets of 3 replicas. Apigee recommends that you add 3 additional nodes to the Cassandra nodepool as standby worker nodes. To scale the number of Cassandra nodes down, see [Scale down Cassandra](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/scale-down-cassandra.md.txt). |
| **Ingress/LoadBalancer** | 3rd-party proxy | Depends on the type of Ingress. |
| **Logger** | [DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) | DaemonSets manage replicas of a pod on all nodes, so they scale when you scale the pods themselves. |
| **MART Synchronizer Metrics MPs** | [ApigeeDeployment](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/apigee-deployment-services.md.txt) (Custom CRD) | To scale on the command line, you can use the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/overview/) `scale` option. To scale via configuration, increase the value of the Deployment's `replicaCountMin` configuration property for the `mart`, `synchronizer`, `metrics`, or `mp` object. Deployments use a Horizontal Pod Autoscaler for autoscaling. Set the Deployment object's `targetCPUUtilizationPercentage` property to the threshold for scaling up; when this value is exceeded, Kubernetes adds pods up to the value of `replicaCountMax`. For more information on setting configuration properties, see [Manage runtime plane components](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/customize-services.md.txt). |
| **UDCA** | [ApigeeDeployment](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/apigee-deployment-services.md.txt) (Custom CRD) | To scale via configuration, increase the value of the [`udca`](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/config-prop-ref.md.txt#udca) object's `replicaCountMin` property in the `overrides.yaml` file. The UDCA service uses a Horizontal Pod Autoscaler for autoscaling. Set the `udca` object's `targetCPUUtilizationPercentage` property to the threshold for scaling up; when this value is exceeded, Kubernetes adds pods up to the value of `replicaCountMax`. For more information on setting configuration properties, see [Manage runtime plane components](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/customize-services.md.txt). |