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

effective-hpa

Type: trait. From: the crane addon.

EffectiveHorizontalPodAutoscaler supports prediction-driven autoscaling and helps you manage application scaling in an easy way.

VelaUX doesn't offer this definition: use it from an Application's YAML or the CLI.

Also called ehpa.

Parameters​

min int default 1
Specify the minimal number of replicas to which the autoscaler can scale down
max int default 10
Specify the maximum number of of replicas to which the autoscaler can scale up
cpuUtil int default 50
Specify the average CPU utilization, for example, 50 means the CPU usage is 50%
enablePrediction bool default true
predictionWindowSeconds int default 3600
The time window to predict metrics in the future.
sampleInterval string default 60s
DSP sample interval
historyLength string default 3d
DSP history length