-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scaling issue when metric and threshold result in floating point, no recovery from that point onwards #3291
Comments
Can you give me a debug binary to get more informed logs? |
Hey, |
BTW, where have you found the parameter |
What do you mean? You can use the source code and troubleshoot your case with it |
This was the issue. But now I am completely trapped. Because I have no way to configure this in my AKS clusters. I checked with Azure AKS teams, they are unable to help. @JorTurFer |
the only workaround is setting the targetValue smaller, the problem is that in v2.7.1, the target value and the metrics have to be integers, so you need to have 1 instead of 2 and I guess that it's too much overscaling. |
FYI: Azure/AKS#3068 |
@JorTurFer To: The downside is that there are some extra pods hanging and since it's on AKS, it's impacting the $ |
This is not on KEDA but AKS |
hi @tomkerkhove instead of the customized fix, do we have a solution for this issue now? |
Report
Consider below scaledobject, and a dummy k8s deployment called "demo"
Issue:
Prometheus reported visit_counter_total=38, everything good 19 pods got created.
Prometheus reported visit_counter_total=39, pods stayed 19 (which is fine)
Prometheus reported visit_counter_total=40, ISSUE: NUMBER OF PODS STUCK AT 19
LOGS: WHEN I INCREASED visit_counter_total FROM 38 TO 39 (WAITED FOR 3 MINS) TO 40 (WAITED FOR 10 MINS)
Expected Behavior
POD COUNT SHOULD HAVE GONE UP TO 20.
Actual Behavior
POD COUNT STUCK AT 19
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.7.1
Kubernetes Version
1.23
Platform
Other
Scaler Details
Prometheus
Anything else?
ALL THIS IN THE LOCAL ENVIRONMENT USING KIND
The text was updated successfully, but these errors were encountered: