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.
How you scale and autoscale each service depends on the type of service.
For more information on scaling, see the Kubernetes documentation.
The following table summarizes the hybrid runtime services and how you can scale and autoscale
them in configurations or from the command line:
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 on the command line, you can use the kubectlscale
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.
To scale via configuration, increase the value of the 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["This documentation version 1.2 is end of life and users should upgrade to a newer version for continued support and updates."],["Scaling of Apigee hybrid runtime services can be managed either through the command line or by modifying the `overrides.yaml` configuration file."],["The method for scaling and autoscaling services depends on the type of service, with some supporting scaling through configuration, command line, or autoscaling, and some, like Cassandra, supporting scaling up only."],["Cassandra, which is implemented as a StatefulSet, requires manual scaling in increments of three due to its default replication factor, and does not support autoscaling."],["Services implemented as DaemonSets, like the Logger, scale alongside the number of nodes, while services like MART, Synchronizer, Metrics, MPs and UDCA utilize Horizontal Pod Autoscalers for dynamic scaling based on CPU utilization thresholds."]]],[]]