Sign Up and Quick Start
You must register to access the enterprise helm repository and get a tenancy for your subscription. The enterprise helm repository access is required to download the values file and Smart Scaler agents into your cluster.
If you are a first-time user, then you must create an account by signing up as a new user or by signing up using Google or GitHub as identity providers (IdPs).
Create an Account
You must register on Smart Scaler for creating an account. This account serves as tenancy for your subscription.
To create an account:
-
The URL lands on the page that is used to sign in.
-
To sign up directly, click Create an account.
You can use your GitHub or Google credentials to sign up. To know more, see use IdP to sign up.
-
On the Create Account page, in the Full Name text box, enter your name.
-
In the Email text box, enter your email address.
-
In the Company Name text box, enter the name of your company.
-
In the Password text box, enter a password that must contain eight characters that includes a special character.
-
Click Create an Account.
-
Your account is created successfully. You must verify your email to complete the registration. Check your mailbox for the email verification link.
-
After you verify the email address, you get an acknowledgement.
-
Click Back to login to sign in to the Smart Scaler.
Create an Account using IdP
Google and GitHub are the supported IdPs to sign up for Smart Scaler.
To sign up using IdP:
-
The URL lands on the page that is used to sign in.
-
Click Create an account.
-
On the Create Account page, under the Create an account button, click Google or GitHub that you want to sign up with.
-
On the Create Account page (for IdP), in the Company text box, enter the name of your company.
-
Click Create an Account.
Sign in to the Smart Scaler
After creating an account, you can sign in to the Smart Scaler.
To log in to the Smart Scaler:
-
The URL lands on the page that is used to sign in.
-
In the Email text box, enter your registered email address.
-
In the Password text box, enter your password.
-
Click Sign in.
-
Alternatively, you can sign in with Google or GitHub account credentials.
-
After a successful authentication, you land into the Deploy Agents page.
Prerequisites Tools and Files
You must meet the requirements for product installations by providing information about the necessary prerequisites for configuring Smart Scaler. It is essential to have a well-configured environment that fulfills the requirements for Smart Scaler. This section explains the prerequisites in detail to help you successfully configure Smart Scaler.
Supported Monitoring Tools
Use any one of the monitoring tools listed in the following table.
- AppDynamics
- Datadog
- eBPF (default monitoring tool)
- Prometheus
Required Tools for Event-based AutoScaler
This is only required if you want to configure Event Infrastructure Scaling. You can ignore these tools if you want to only configure the Smart Scaler.
Verify eBPF on Cluster Nodes
Check if eBPF is enabled on your cluster node by following these steps:
-
Clone the repo using the following command:
git clone https://github.com/smart-scaler/smartscaler-tutorials.git
-
Go to the folder that contains the script to check eBPF using the following command:
cd smartscaler-tutorials/ebpf-cluster-check/
-
Run the script using the following command:
./ebpf-check.sh
Expected Output
Check if eBPF is enabled on every cluster node in the output.
Whitelist URLs
The Smart Scaler agent needs access to the following URLs. If firewalls are configured to control outgoing access to external sites, you must allow these URLs in your firewall:
- https://gateway.saas1.smart-scaler.io/api/v1/agent/health
- https://gateway.saas1.smart-scaler.io/oauth2/token
Deploy Agents
To deploy the Smart Scaler agent, go to the Agents tab on the left sidebar and follow these steps.
Download the Values File
-
On the Deploy Agents page, add a name for the agent in the text box and download the values file.
Open the downloaded
ss-agent-values.yaml
file in your favorite editor and fill in the requested info. You must provide a name for your cluster as well as identify the URL and access keys to your data sources.
Install the Agent
-
On the cluster where you want to deploy the agent, use the following command to add the Smart Scaler repo:
helm repo add smart-scaler https://smartscaler.nexus.aveshalabs.io/repository/smartscaler-helm-ent-prod/
-
Update the repo using the following command:
helm repo update smart-scaler
-
(Optional) 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/adb-scaler 1.2.0 1.3.0 A Helm chart for adb-scaler
smart-scaler/avesha-karpenter 1.0.0 1.0.0 A Helm chart for Avesha's karpenter.
smart-scaler/beyla 1.2.6 1.9.0 eBPF-based autoinstrumentation HTTP, HTTP2 and ...
smart-scaler/smartscaler-agent 2.9.6 2.8.4 Intelligent Autoscaling for Kubernetes
smart-scaler/smartscaler-configuration 1.2.4 1.2.4 Configurations for Smart Scaler -
On the same cluster, use the following command to install the smart scaler agent:
helm install smartscaler smart-scaler/smartscaler-agent -f ss-agent-values.yaml -n smart-scaler --create-namespace
In the above command, use the
ss-agent-values.yaml
file that you have downloaded in step 1 and modified.
The Smart Scaler agent installation includes the default ConfigMap that contains the agent and application definition.
Starting with Smart Scaler version 2.13.0, we have introduced a new default application definition
to simplify the process of onboarding applications to Smart Scaler. You only need to
identify the namespaces that contain the applications you want Smart Scaler to manage. To
do this, open the ss-agent-values.yaml
file downloaded from the management console's Agents page, and
add the list of namespaces to the namespaceAnnotationKey
label.
After the namespaces are defined, the Inference Agent assumes that all deployments in each specified namespace should be managed as a unit by Smart Scaler.
If this setup matches your deployment pattern, this is all you need to do to onboard your applications.
To gain more flexibility over the application definition, see: