Optimization Policy customization
Last updated
Last updated
PerfectScale uses the default data maturity time window for the recommendations depending on the selected Optimization Policy. This algorithm allows PerfectScale to collect sufficient data, ensuring reliable recommendations or accurately adjusting resources through automated actions.
However, there may be situations when the default optimization strategy is not efficient enough due to known and predictable resource spikes within a known timeframe. PerfectScale allows you to set a Custom time window for the Optimization Policy to tailor recommendations and automation to your services' specific needs.
You can adjust the time window for the optimization policy for both the entire cluster and a specific workload.
You can easily specify the custom time window for the optimization policy when onboarding the cluster or modify it for an already running cluster.
When onboarding a new cluster, enable the toggle Custom time window
in the Optimization Policy drop-down and select the policy and the desired time window.
If you want to modify the custom time window for the already onboarded cluster, go to the cluster settings by clicking the gear button right after the desired cluster on the Overview page. Once you are here, enable the toggle Custom time window
in the Optimization Policy dropdown, select the policy and the desired time window.
Once the custom time window is applied, it will be displayed next to the optimization policy in UI.
To set the custom time window for the optimization policy of the particular workload, navigate to the zoom-in window by clicking the workload, enable the toggle Custom time window
. In the Optimization Policy dropdown, select the policy and desired time window, and click Save
button.
To set the custom time window for the optimization policy programmatically, specify the custom time window for a cluster as part of the PerfectScale agent installation:
Use one of the following supported options: 14days
, 21days
, 30days
or 45days
To revert to the default optimization policy settings, simply upgrade the exporter without specifying any value. This will also enable modifying the custom time window through the UI.