Modifying an HPA Policy
You can edit an existing HPA policy and reconfigure policy parameters.
Prerequisites
You have configured an HPA policy. For details, see Configuring an HPA Policy.
Modifying an HPA Policy
- Log in to ServiceStage.
- Use either of the following methods to go to the Scaling page.
- On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose Scaling in the left navigation pane.
- On the Component Management page, click the target component and choose Scaling in the left navigation pane.
- On the Scaling page, choose Policy, click Edit Policy, and reconfigure parameters.
- Cooldown Period
- Pod Range
- Triggering Condition
You can change trigger condition on the UI or by editing the YAML file.
- UI
Change Desired Value and Threshold (scale-in and scale-out thresholds) of CPU usage and Memory usage.
- YAML
You can use the YAML format to customize metric parameters and support more metrics such as pods, objects, and external.
To configure custom metric parameters by using YAML, ensure that the prometheus add-on has been installed for the CCE cluster.
Install the prometheus add-on for the CCE cluster. For details, see prometheus.
- UI
- Click OK.
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