Uncover the Smart Scaler Base Agent
This topic delves into the details of the Smart Scaler's base agent configuration.
The base agent file is the template for configuration, which includes a data source.
After downloading the ss-agent-values.yaml
file from the Smart Scaler management console, you
can view its contents, which are in a template format.
Use a Command Editor to View the Base Agent File
The ss-agent-values.yaml
file contains the base agent configuration.
Use the following command to view the base agent configuration (you can use any command editor instead of vi):
vi ss-agent-values.yaml
Let us understand the individual configuration properties in the section below.
Interpret the Base Agent Configuration
Read the comments to interpret the base agent's configuration properties.
agentConfiguration:
# DO NOT CHANGE THIS
host: https://istio-ingress-gateway.saas-preprod.smart-scaler.io
# DO NOT CHANGE THIS
clusterDisplayName: ss-agent-values
# DO NOT CHANGE THIS
clientID: avesha-<id>
# DO NOT CHANGE THIS
clientSecret: <client secret>
# IMPORTANT: Add the namespaces to monitor, separated by commas or .* to monitor all namespaces.
smartScalerAgentMonitorNs: .*
# IMPORTANT: Add the namespaces to exclude, separated by commas. Exclude namespace will take higher priority over monitor namespace.
smartScalerAgentExcludeNs: istio-system,kube-node-lease,kube-public,kube-system
# IMPORTANT: Number of deployments in each app
deploymentChunk: '300'
# IMPORTANT: Annotation key at namespace level to identify the application
namespaceAnnotationKey: ''