Skip to content

fix(keda): ScaledObject correctness — Value semantics, cluster-pinned query, optional CPU trigger#10893

Merged
manpreetkaur-arch merged 1 commit into
EclipseFdn:aws-mainfrom
skettkepalli:fix/eks-autoscaling-aws-main
Jun 8, 2026
Merged

fix(keda): ScaledObject correctness — Value semantics, cluster-pinned query, optional CPU trigger#10893
manpreetkaur-arch merged 1 commit into
EclipseFdn:aws-mainfrom
skettkepalli:fix/eks-autoscaling-aws-main

Conversation

@skettkepalli

@skettkepalli skettkepalli commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Two correctness fixes in the KEDA ScaledObject template (full analysis and measurements in #10892):

  • metricType: Value — the prometheus trigger used the default AverageValue, which for a ratio query (never above 1.0) caps replica demand at ceil(1/threshold) pods regardless of load.
  • The query can now be pinned to a single cluster via keda.clusterName; without the pin, co-labeled series from other clusters pollute the average. Staging values set eks-staging (verified against the live series).

Also parameterizes the smoothing window and adds an optional in-cluster CPU trigger, rendered only when keda.cpuUtilization is set. Staging tuning values are unchanged.

Tested end-to-end on eks-staging — details in #10892.

Signed-off-by: skettkepalli sridhar.ettkepalli@eclipse-foundation.org

…query, CPU safety net

Ratio queries never exceed 1.0, so AverageValue math capped demand at 2
pods regardless of load; metricType Value scales proportionally. Query
pinned to the EKS cluster so co-labeled OKD series can't pollute the signal.

Co-Authored-By: skettkepalli <sridhar.ettkepalli@eclipse-foundation.org>
Comment thread charts/openvsx/templates/scaledobject.yaml
@manpreetkaur-arch manpreetkaur-arch merged commit 0b5daaf into EclipseFdn:aws-main Jun 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants