Kafka scaler - Need for clarification about the lagThreshold #1519
Unanswered
Vince-Chenal
asked this question in
Q&A / Need Help
Replies: 1 comment
-
KEDA is feeding the metrics to HPA, which does the scaling then. You can check the algorithm explanation (and the current value calculation) in the HPA docs: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm running a POC with the kafka scaler and trying to understand the way it's behaving.
Here's the content of the ScaledObject I'm using:
Here's a screenshot of the metrics I'm getting when running my POC.
In order of appearance:
When I look at the HPA I see that the lagThreshold is the target, but the value I'm getting for the "current value" is not the same "scale"as the Keda metric I have in my graph.
For example, when I have about 4k in the Keda metric, I see 470300m (470) in the current value:
I have the impression that the current value is "per replica" (Keda metric / Nb Replicas). Am I missing something ?
Can someone clarify if the lagThreshold relates to the "total lag" or some kind of "lag per replica" ?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions