keda-auto-scaler
Configure auto scale rule for your workload.
Type: trait. From: the keda addon.
Parameters
pollingInterval int default 30Specify the polling interval of metrics
cooldownPeriod int default 60Specify the cool down period that prevents the scaler from scaling down after each trigger activation.
idleReplicaCount int default 0Specify the idle period that the scaler to scale to zero.
minReplicaCount int default 1Specify the minimal replica count.
maxReplicaCount int default 100Specify 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/v1Specify apiVersion for target workload
kind string default DeploymentSpecify kind for target workload
envSourceContainerName string default find this path ".spec.template.spec.containers[0]"Specify containerName
name string default context.nameSpecify the instance name for target workload
fallback (2) Specify the fallback value when the metrics server is not available.
failureThreshold int default 3Specify the failure threshold of the scaler.
replicas int default 1Specify the replica when failed to get metrics.