A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

keda-auto-scaler

Configure auto scale rule for your workload.

Type: trait. From: the keda addon.

Parameters​

pollingInterval int default 30
Specify the polling interval of metrics
cooldownPeriod int default 60
Specify the cool down period that prevents the scaler from scaling down after each trigger activation.
idleReplicaCount int default 0
Specify the idle period that the scaler to scale to zero.
minReplicaCount int default 1
Specify the minimal replica count.
maxReplicaCount int default 100
Specify the maximal replica count.
triggers[] (2)
type string required
specify the type of trigger, the rest spec here aligns with KEDA spec
metadata map[string]any required
specify the metadata of trigger, the spec aligns with the spec of KEDA https://keda.sh/docs/2.8/scalers/
scaleTargetRef (4)
apiVersion string default apps/v1
Specify apiVersion for target workload
kind string default Deployment
Specify kind for target workload
envSourceContainerName string default find this path ".spec.template.spec.containers[0]"
Specify containerName
name string default context.name
Specify the instance name for target workload
fallback (2) Specify the fallback value when the metrics server is not available.
failureThreshold int default 3
Specify the failure threshold of the scaler.
replicas int default 1
Specify the replica when failed to get metrics.