Install Smart Scaler
This topic describes how to install the Smart Scaler agents through helm install.
The current Smart Scaler chart version is 1.8.0.
To install Smart Scaler:
-
Download the values.yaml file from the Deployment Agent page on the Smart Scaler management console.
-
Add the Smart Scaler repo using the following command:
helm repo add smart-scaler https://smartscaler.nexus.aveshalabs.io/repository/smartscaler-helm-ent-prod/
-
Install the Smart Scaler agent using the following command:
helm install smartscaler smart-scaler/smartscaler-agent -f values.yaml -n smart-scaler --create-namespace --set configHelper.enabled=true
Installing the Smart Scaler agents installs:
- The Event Agent
- The Inference Agent
- The Config Helper Tool
The Config Helper Tool is optional. It is needed only to facilitate the initial configuration of the
Smart Scaler agents. Helm installs it when given with the --set configHelper.enabled=true
option.
If, after you have configured your agents correctly, you prefer to disable the Config Helper Tool, you
may re-run helm without that option.
The Event Agent is required for autoscaling planned events and contains preconfigured agent and application-specific configuration.
The Inference Agent is required for using the RL-based Smart Scaler.
In both cases, you must configure the Agents to know which of your applications you want them to manage and how they should influence their behavior.
To configure the Inference Agent to collect data correctly for Smart Scaler, you can use the Config Helper Tool that comes with the Smart Scaler Agent installation. To know more, see configuring the Inference Agent.
Verify the Smart Scaler Repository
To verify if the Smart Scaler repository was added successfully, view the chart using the following command:
helm search repo smart-scaler
Expected Output
NAME CHART VERSION APP VERSION DESCRIPTION
smart-scaler/smartscaler-agent 1.8.0 1.8.0 Intelligent Autoscaling for Kubernetes