Updated on 2025-11-21 GMT+08:00

Workload Scaling

There are two workload scaling methods: auto scaling and manual scaling.

  • Auto scaling: triggered by metrics. After the configuration is complete, pods can be automatically added or deleted as the resources change over time.
  • Manual scaling: After the configuration is complete, pods can be added or deleted immediately.

Constraints

  • Auto scaling is only supported for Deployments.
  • CCI 2.0 supports auto scaling only in the TR-Istanbul, AF-Johannesburg, AP-Singapore, and ME-Riyadh regions.

Auto Scaling

For details about how to configure auto scaling, see Horizontal Pod Autoscaler (HPA).

Manual Scaling

  1. Log in to the CCI 2.0 console.
  2. In the navigation pane, choose Workloads. On the Deployments tab, locate the target Deployment and click Edit YAML.
  3. Change the value of spec.replicas, for example, to 3, and click OK.
  4. On the Pods tab, view the new pods being created. When the statuses of all added pods change to Running, the scaling is complete.

    Figure 1 Pod list after a manual scaling