Redefine the Application using Helm
Installing the Smart Scaler Agent installs the Inference Agent and the Event Agent, and generates ConfigMap. This topic describes how to remove the default ConfigMap and define the applications if you want more flexibility.
The Smart Scaler Agent installation includes the default ConfigMap that contains the agent and application definition. The default application definition streamlines application onboarding. To use it, follow these steps:
- Review the default ConfigMap included with the Smart Scaler Agent installation. This ConfigMap contains both the agent configuration and the default application definition.
- Use the default application definition to simplify onboarding, unless you require advanced customization.
- Identify the Kubernetes namespaces where your applications are deployed.
- Open the
ss-agent-values.yamlfile downloaded from the management console's Agents page. - Locate the
smartScalerAgentMonitorNsproperty in the file. - Add a comma-separated list of namespaces you want Smart Scaler to monitor under this property.
You can use
.*to monitor all namespaces in your cluster.
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.
If this pattern does not match your cluster and you want to specifically identify the deployments that you would want Smart Scaler to manage, then you can define your applications as follows.