generated from kedacore/github-template
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Not scaling to 0 #214
Labels
bug
Something isn't working
Comments
Sure will make the change in a new branch |
This was referenced Aug 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Scale to 0 when there is no traffic in the HTTP Request queue
Actual Behavior
Always at a minimum of 1 replica
Steps to Reproduce the Problem
I discussed with @arschles and @khaosdoctor about this problem and based on our investigations this behavior is caused by the following:
https://github.com/kedacore/http-add-on/blob/main/scaler/handlers.go#L33-L40
The
isActive
method here always returnstrue
. Based on this bool KEDA scales to and from 0. If it true we scale from 0 to 1 and if its false the vice-versa.The text was updated successfully, but these errors were encountered: