Automation setup instructions

Set up PerfectScale Automation in minutes and start seeing instant optimization results with just a few simple steps

Automation is currently available for workloads with type Deployment, DaemonSet, StatefulSet, CronJob and Job.

To set up Automation, you can either follow the installation guide below or complete the setup directly within the platform. Both options make it easy to get started, so you can choose the one that best fits your workflow.

To access the Automation enablement guide within the platform, go to the Overview screen, hover over the cluster you want to automate, and click the Configure button under the Automated column.

Configure button

Step 1: Install PerfectScale Automation Agent

Deploy the PerfectScale automation agent. In order to install the PerfectScale automation agent, run the following commands:

and

If taints and tolerations are defined in the node pool, you must include them in the command too, so it will appear like this:

Follow the troubleshooting instructions provided, or contact support if you encounter any issues.

Verify Automation Agent Installation

To test and confirm that the Automation Agent was installed successfully, run the following command:

Disabling Webhook for Specific Namespaces

Once the autoscaler is installed, all pods in the cluster go through the admission webhook. You can exclude specific namespaces from this process by disabling the webhook for them. For example:

Step 2: Configure Automation

PerfectScale provides two ways to configure Automation and tailor it to your environment:

  • Through the UI A good starting point if you want to quickly explore and enable Automation, such as during a POC or in environments where a simple setup is sufficient.

  • By using a Custom Resource (CR) The best suits for teams that require more control and customization, as this option provides greater flexibility and configuration granularity.

The UI offers a simple and convenient way to set up and manage Automation directly in the platform, while the CR option enables flexible, GitOps-friendly configuration within your Kubernetes workflows. Explore how to configure Automation using one of the approaches described above by clicking the links above.

CRD configuration takes priority over UI settings. If both are enabled, PerfectScale will apply automation based on the CRD configuration. You can still preview the list of automated workloads in the UI, but any changes should be made through the CRD.

Last updated

Was this helpful?