-
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
autoscaling.keda.sh/paused-replicas: "0" not working #4989
Comments
Hi @sharique-masood, I think the pause feature was introduced in KEDA 2.7.0: https://github.com/kedacore/keda/blob/main/CHANGELOG.md#new-7 Also keep in mind that there was a bug fix in KEDA 2.11.1 regarding this feature. So you may want to check this out: https://github.com/kedacore/keda/blob/main/CHANGELOG.md#fixes-2 Regards. |
@ianebot is correct, closing as this is not a bug. |
Report
The annotation autoscaling.keda.sh/paused-replicas: "0" is not behaving as expected. Even after applying this annotation to the KEDA ScaledObject, deployments are continuing to get scaled in.
Expected Behavior
The autoscaling.keda.sh/paused-replicas annotation with a value of "0" should prevent any scaling actions (scaling in) from occurring. This should scale down the deployment to zero or 1.
Actual Behavior
Deployments are still being scaled in even after applying the annotation.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.6.1
Kubernetes Version
1.24
Platform
Google Cloud
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: