Skip to main content

Scale Integrations

Cloud has the newest features. Some may not be in a release yet; the newest release is Integration 5.1.0.

Choreo Integration scales integrations with horizontal autoscaling (HPA) based on CPU and, optionally, memory usage. Scaling is configured independently per environment, from the integration's Operate > Scaling page.

By default, an integration runs a fixed number of replicas (no autoscaling) in each environment. Turning on HPA opens the Scaling configuration section.

Scaling page with HPA selected, showing Min/Max replicas, CPU and Memory thresholds, and the Replicas and usage tables

info

The console also shows a Scale to zero option alongside HPA. It isn't available yet.

Autoscale replicas​

  1. On the Scaling page, click the HPA card and confirm turning on autoscaling.

  2. Configure the following parameters:

    ParameterDescription
    Min replicasThe minimum number of replicas to keep running at all times. Can't go below 1.
    Max replicasThe maximum number of replicas to scale up to. Capped at 5.
    CPU thresholdOptional, independently toggleable. The average CPU utilization across all running replicas. When this threshold is reached, the platform scales up until utilization falls below it.
    Memory thresholdOptional, independently toggleable. The average memory usage across all running replicas. The platform scales up when this threshold is reached, until usage falls below it.
  3. Click Update to save your changes.

The Replicas table below shows each running pod's status, restarts, and last activity, and the CPU usage / Memory usage cards show current utilization against the integration's allocated resources.

tip

Scaling parameter changes can take a few minutes to propagate, as the replicas are replaced.

Run a fixed number of replicas with HPA

To run exactly 3 replicas at all times, turn on HPA and set both Min replicas and Max replicas to 3.

What's next​

  • Containers — Set container CPU and memory request/limit.
  • Environments — Organize your integration lifecycle with multiple environments.

Was this page helpful?