As applications increasingly run on Kubernetes, the ability to rapidly scale out during peak times and scale in during off-peak hours becomes crucial for efficiently managing resources and reducing costs.
Auto scaling is widely used in CCE. Typical use cases are as follows:
CCE supports auto scaling for workloads and nodes.
Workload Scaling Types
Type | Component | Description | Reference |
|---|---|---|---|
HPA | HorizontalPodAutoscaler (built-in Kubernetes component) | A built-in component of Kubernetes for horizontal pod autoscaling. CCE incorporates the application-level cooldown time window and scaling threshold functions into Kubernetes HPA. | |
CustomedHPA | An enhanced auto scaling feature, used for auto scaling of Deployments based on metrics (CPU usage and memory usage) or at a periodic interval (a specific time point every day, every week, every month, or every year). | ||
CronHPA | CronHPA can scale in or out a cluster at a fixed time. It can work with HPA policies to periodically adjust the HPA scaling scope, implementing workload scaling in complex scenarios. | ||
VPA | Vertical Pod Autoscaler in Kubernetes. | ||
AHPA | Advanced horizontal pod autoscaling, which scales beforehand based on historical data. |
Figure 1 Workload scaling

Node Scaling Types
Component Name | Description | Application Scenario | Reference |
|---|---|---|---|
An open-source Kubernetes component for horizontal scaling of nodes, which is optimized by CCE in scheduling, auto scaling, and costs. | Online services, deep learning, and large-scale computing with limited resource budgets |