-
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
Deployment scaled to 0 due to inactivity even when minReplicaCount >= 1 #4995
Comments
Just remove Feel free to propose docs fix and update, any update to make the docs more clear is really appreciated! |
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 has been automatically closed due to inactivity. |
Report
The docs at https://keda.sh/docs/2.11/concepts/scaling-deployments/#managing-activation--scaling-thresholds say:
However, with keda 2.11.2 we see that this is not always true. If a ScaledObject has:
and use the
cron
trigger, the Deployment ends up scaled to 0 when thecron
trigger is inactive which is unexpected based on the docs.Expected Behavior
Given that
minReplicaCount: 2
, I expect the activation value to be ignored as per docsActual Behavior
It scales the deployment to 0 when the cron trigger is inactive.
Steps to Reproduce the Problem
Example with keda 2.11.2.
Install keda with:
helm upgrade --install keda kedacore/keda --namespace keda --version 2.11.2 --create-namespace
Create nginx deployment and scaledobject:
Logs from KEDA operator
The text was updated successfully, but these errors were encountered: