EKS 1.21 - SQS Scalar - Metric calculation by KEDA #2057
Replies: 2 comments 1 reply
-
The current target value on the Horizontal Pod Autoscaler (HPA) often does not match with the metrics on the system you are scaling on. You can learn more about it on https://keda.sh/docs/2.4/faq/#kubernetes |
Beta Was this translation helpful? Give feedback.
-
Thanks @tomkerkhove . I agree that HPA decides the # of replicas using its own algorithm. Here the metric value reported is from keda metric server so how does it calculate this value? Reason i am asking is: I paused my SQS consuming application and when i push 5000 message to SQS and look at this metric using the metric API, it shows metric value as 5k. But HPA shows the target metric value as 165500m,40875m....500 (at the end).
|
Beta Was this translation helpful? Give feedback.
-
In EKS 1.21 i have deployed KEDA 2.3 and trying to scale my deployment based on SQS.
What does this TARGETS value of 12334m/30 (avg) really means?
Usually the queue length is returned as whole number in AWS API. How should we convert this metric value 12334m to a whole number in order to validate the thresholds & target scaling?
Beta Was this translation helpful? Give feedback.
All reactions