CCE Advanced HPA
CCE Advanced HPA (cce-hpa-controller) is an in-house add-on, which can be used to flexibly scale in or out Deployments based on metrics such as CPU usage and memory usage.
Main Functions
- Scaling can be performed based on the percentage of the current number of pods.
- The minimum scaling step can be set.
- Different scaling operations can be performed based on the actual metric values.
Constraints
- Kubernetes Metrics Server: provides basic resource usage metrics, such as container CPU and memory usage. It is supported by all cluster versions.
- Creating an HPA Policy Using Custom Metrics: Custom metrics need to be aggregated to the Kubernetes API server for auto scaling.
Installing the Add-on
- Log in to the CCE console and click the cluster name to access the cluster console. In the navigation pane on the left, choose Add-ons. Locate CCE Advanced HPA on the right and click Install.
- On the Install Add-on page, configure the specifications.
Table 1 CCE Advanced HPA specifications Parameter
Description
Pods
Number of pods for the add-on.
High availability is not possible if there is only one pod. If an error occurs on the node where the pod runs, the add-on will fail.
Containers
CPU and memory quotas of the container allowed for the selected add-on specifications.
You can adjust the container specifications of an add-on instance as required.
- Click Install.
Components
Component |
Description |
Resource Type |
---|---|---|
customedhpa-controller |
CCE auto scaling component, which scales in or out Deployments based on metrics such as CPU usage and memory usage |
Deployment |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot