-
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
MinReplicaCount for ScaledObject can't be set to 0 #5570
Comments
Hello, |
Hi @JorTurFer, In some cases we need to scale the service down completely, currently we have to add pause annotation and run |
Yeah, I totally understand the requirement of scaling to 0 for some reasons, but that's already supported too xD If you annotate the ScaledObject with In fact, you can use |
I missed that part somehow, thanks! We are migrating from https://github.com/jthomperoo/custom-pod-autoscaler and we used to scale down by setting I still think that setting |
Yeah, definitivelly, I don't have anything against the PR, I just suggested as an already available option to speed up your processes xD |
|
Removing HPA is undesired in our case, if HPA would stay in place it will make sure that the deployment will stay scaled down, even if someone scaled it up by mistake. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue can be fixed by the #5571, any reason not to merge it? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue can be fixed by the #5571, any reason not to merge it? |
This issue has been automatically closed due to inactivity. |
Report
Keda reports error:
If MinReplicaCount=0 and MaxReplicaCount=0
Expected Behavior
No errors reported, the object scaled to 0.
Actual Behavior
Keda reports error and don't do anything.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.13.0
Kubernetes Version
1.29
Platform
Google Cloud
Scaler Details
Prometheus
Anything else?
No response
The text was updated successfully, but these errors were encountered: