Help Center/
Ubiquitous Cloud Native Service/
User Guide/
Cluster Federation/
Multi-Cluster Workload Scaling/
Using Scaling Policies
Updated on 2024-09-19 GMT+08:00
Using Scaling Policies
This section describes how to use FederatedHPA and CronFederatedHPA.
Using FederatedHPA
Figure 1 shows how to use FederatedHPA.
- Add clusters to a fleet, enable cluster federation for the fleet, and create Deployments. (Workload scaling is based on workloads deployed in multiple clusters.) For details, see Registering a Cluster, Enabling Cluster Federation, and Creating a Workload.
- Install the metrics data collection add-on for clusters. For details, see Installing a Metric Collection Add-on.
- Create a FederatedHPA. For details, see Creating a FederatedHPA to Scale Pods Based on Metric Changes.
- Configure a scaling rate. For details, see Configuring a FederatedHPA to Control the Scaling Rate.
- Modify or delete the FederatedHPA. For details, see Managing a FederatedHPA.
Using CronFederatedHPA
Using CronFederatedHPA Separately
Figure 2 shows how to use CronFederatedHPA separately.
- Add clusters to a fleet, enable cluster federation for the fleet, and create Deployments. (Workload scaling is based on workloads deployed in multiple clusters.) For details, see Registering a Cluster, Enabling Cluster Federation, and Creating a Workload.
- Create a CronFederatedHPA. For details, see Creating a CronFederatedHPA to Scale Pods at Regular Intervals.
- Modify or delete the CronFederatedHPA. For details, see Managing a CronFederatedHPA.
Using CronFederatedHPA and FederatedHPA Together
Figure 3 shows how to use CronFederatedHPA and FederatedHPA together.
- Add clusters to a fleet, enable cluster federation for the fleet, and create Deployments. (Workload scaling is based on workloads deployed in multiple clusters.) For details, see Registering a Cluster, Enabling Cluster Federation, and Creating a Workload.
- Install the metrics data collection add-on for clusters. For details, see Installing a Metric Collection Add-on.
- Create a FederatedHPA. For details, see Creating a FederatedHPA to Scale Pods Based on Metric Changes.
- Create a CronFederatedHPA. For details, see Creating a CronFederatedHPA to Scale Pods at Regular Intervals.
- Modify or delete the two scaling policies. For details, see Managing a FederatedHPA and Managing a CronFederatedHPA.
Parent topic: Multi-Cluster Workload Scaling
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot