You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the MongoDB scaler requires queryValue to be an integer. This feature request proposes adding support for floating-point values to allow more flexible query conditions.
Use-Case
I have a ScaledObject with minReplicaCount set to 1 and maxReplicaCount set to 10. My goal is to always maintain one idle pod whenever possible. Since idleReplicasCount doesn’t work in this case, I tried setting queryValue to 0.9 to keep the replica count one above the required amount. However, I found that queryValue does not support float values. I tested this with MSSQL and MySQL, and both allow float values for queryValue or targetValue.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Proposal
Currently, the MongoDB scaler requires queryValue to be an integer. This feature request proposes adding support for floating-point values to allow more flexible query conditions.
Use-Case
I have a ScaledObject with minReplicaCount set to 1 and maxReplicaCount set to 10. My goal is to always maintain one idle pod whenever possible. Since idleReplicasCount doesn’t work in this case, I tried setting queryValue to 0.9 to keep the replica count one above the required amount. However, I found that queryValue does not support float values. I tested this with MSSQL and MySQL, and both allow float values for queryValue or targetValue.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
The text was updated successfully, but these errors were encountered: