Volcengine Kubernetes Engine
Solution name | HPA | CronHPA | IHPA |
Solution name | HPA | CronHPA | IHPA |
Solution overview | CronHPA functions as a preset task, which can execute specified scaling rules at specified times. This automatically scales out or scales in computing resources to meet business requirements and control costs. | Intelligent Horizontal Pod Autoscaler (IHPA) is provided by the internal AI algorithm team of the Volcano Engine cloud-native team based on the time series prediction algorithm. IHPA can generate resource profiles and time-based resource views of workload replicas and resources (such as CPU and memory utilization) based on historical and predicted workload data. IHPA accurately adjusts the number of workload replicas to promptly respond to changes in business workloads based on data. | |
Scaling criteria |
| The time period, such as specific time points each hour, each day, each week, or each month. |
|
Application scenarios | HPA is suitable for online services that include a large number of pods and require frequent scaling to handle traffic fluctuations, such as e-commerce services, online education, and financial services. | CronHPA is suitable for services that have fixed traffic patterns and scenarios where you need to run applications at a scheduled time. | IHPA can automatically identify the pattern of workload fluctuations and predict resource demand based on historical metric data to implement predictive scaling, which reduces the impact of native HPA scaling delay on business operations. |
Related documentation |
HPA (min/max) | CronHPA | Workload replica | Scaling result | Description of compatibility rules |
HPA (min/max) | CronHPA | Workload replica | Scaling result | Description of compatibility rules |
1/10 | 5 | 5 |
| When the target replica count in CronHPA equals the current count, you don't need to modify HPA's maximum/minimum replica counts or the current application replica count. |
1/10 | 4 | 5 |
| When the target number of replicas in CronHPA is less than the current number of replicas, retain the current number of replicas. |
1/10 | 6 | 5 |
| When the target replica count in CronHPA is higher than the current replica count, keep the CronHPA target count. If the target replica count exceeds the HPA minimum replicas (minReplicas), update the HPA minReplicas. |
5/10 | 4 | 5 |
| When the target number of replicas in CronHPA is less than the current number of replicas, retain the current number of application replicas. When the target number of replicas in CronHPA is less than the minimum number of HPA replicas (minReplicas), modify the minimum number of HPA replicas. |
5/10 | 11 | 5 |
| When the target replica count in CronHPA exceeds the current count, retain that target number. When the target replica count in CronHPA exceeds HPA's maxReplicas, adjust HPA's maximum replicas. |