Configuring Automation via UI
Seamlessly setup Automation with the guided UI flow.
UI-based automation is designed for teams who want to get started quickly without configuring CRs. It provides a simple, guided way to set up and manage automation directly in PerfectScale, removing friction for new users or teams less familiar with declarative setups.
Once the Automation Agent is installed, you can easily configure automation for your clusters and workloads using a guided UI flow.
To automate an entire cluster or specific workloads via the UI, go to the Overview screen, hover over the desired cluster, and click the Install button in the Automation column.

Clicking the Install button opens the Automation configuration screen, which provides instructions for installing the automation agent. Once installed, the configuration options will appear in the UI within the next 10 minutes.
You have a few options:
Enable Cluster Automation - enables the automation configuration, but no workloads are automated yet.
Automate the entire cluster - autonomous optimization is applied to all workloads within the cluster.
Automate specific workloads - autonomous optimization is applied only to the workloads you select within the cluster.
UI automation settings overview
This approach is designed to help teams quickly set up automation without the need to dig in and configure automation CR. While it offers less flexibility than a CR-based configuration, it provides everything you need to start optimizing your workloads autonomously.
Automating a cluster
To automate the entire cluster, enable the Cluster Automation toggle. Once done, the Enable button next to the number of workloads in the cluster becomes active. Clicking Enable will turn on all toggles for the workloads automatically. Finally, click Save Changes. Within a few minutes, PerfectScale will begin optimizing the cluster autonomously.

Automating specific workloads
To enable automation for specific workloads, first turn on the Cluster Automation toggle. Once enabled, the toggles for individual workloads become active, allowing you to select the ones you want to automate. Click Save Changes, and within a few minutes, PerfectScale will start optimizing the selected workloads autonomously.

Alternatively, you can automate a workload directly from its zoom-in window. Click the workload to open the window, then toggle Automation on with a single click. Within a few minutes, PerfectScale will begin optimizing this workload autonomously.

Additional configurations
Additionally, you can choose whether automation should respect your configured CPU limits. Generally, we recommend removing CPU limits to allow workloads to use available CPU resources more freely, improving performance and efficiency.
By default, PerfectScale respects your configured CPU limits.
To let PerfectScale override configured CPU limits, open the Automation tab in a Cluster Settings, click the three-dot menu next to the cluster name, and clear Keep CPU Limit.

To revert all automation changes and disable automation for the cluster, click the Cleanup All Automation button and confirm the action.
Supported workload types
Automation via the UI supports the same workload types as CR-based automation, including Deployments, DaemonSets, StatefulSets, CronJobs, Jobs, Rollouts, and custom grouped workloads by label. If a workload type is not supported, a corresponding status will be displayed to indicate this.

Automation configuration defaults
stopAllAutomation
false
cleanupAllAutomation
false
automationMode
Enabled
workloadLabelSelectors
nil
wasteMaxAutomationFrequency
Deployment: 30m
Rollout: 30m
CronJob: 30m
Job: 30m
DaemonSet: 4h
StatefulSet: 24h
fixResiliencyMaxAutomationFrequency
30m
maintenanceWindowIgnoredForResiliency
false
maintenanceWindowIgnoredMinResiliencyLevel
""
maintenanceWindow
workloadMinWasteUSDPerMonth
5
cpuManagement
request:
IncreaseEnabled: false DecreaseEnabled: true MinimumCores: -1 // no limit MaximumCores: -1 //no limit limit: KeepLimit: true maxCpuRequestIncreaseIterations: Daily: 3 Weekly: 6
memoryManagement
request:
IncreaseEnabled: false DecreaseEnabled: true MinimumGiB: -1 // no limit MaximumGib: -1 //no limit limit: IncreaseEnabled: false DecreaseEnabled: false MinimumGiB: -1 // no limit MaximumGib: -1 //no limit maxMemoryIncreaseIterations: Daily: 3 Weekly: 6
Disabling automation via UI
You can disable automation in the UI only if it was originally configured through the UI. To do so, open the Automation window, click Disable, and save your changes.

Last updated
Was this helpful?
