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
For more details, you can refer to [this PR](https://github.com/kedacore/keda/pull/1227).
223
223
224
+
**eager**
225
+
When adopting the **default** strategy, you are likely to come into a subtle case where messages need to be consumed by spawning jobs but remain in the queue, even when there are available slots between `runningJobCount` and `maxReplicaCount`. The **eager** strategy comes to the rescue. It addresses this issue by utilizing all available slots up to the maxReplicaCount, ensuring that waiting messages are processed as quickly as possible.
226
+
227
+
For example, let's assume we configure a ScaledJob in a cluster as below:
We can identify the difference in their final states.
260
+
261
+
262
+
You may also refer to [this original issue](https://github.com/kedacore/keda/issues/5114) for more information.
263
+
264
+
---
265
+
266
+
```yaml
267
+
scalingStrategy:
268
+
multipleScalersCalculation : "max" # Optional. Default: max. Specifies how to calculate the target metrics (`queueLength` and `maxScale`) when multiple scalers are defined.
269
+
```
270
+
Select a behavior if you have multiple triggers. Possible values are `max`, `min`, `avg`, or `sum`. The default value is `max`.
271
+
272
+
***max:** - Use metrics from the scaler that has the max number of `queueLength`. (default)
273
+
***min:** - Use metrics from the scaler that has the min number of `queueLength`.
274
+
***avg:** - Sum up all the active scalers metrics and divide by the number of active scalers.
275
+
***sum:** - Sum up all the active scalers metrics.
0 commit comments