Skip to content

Commit d72e79b

Browse files
authored
add explanation for eagerScalingStrategy
Signed-off-by: June Han <sorrowitsch@gmail.com>
1 parent af1e81e commit d72e79b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/docs/2.15/concepts/scaling-jobs.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ scalingStrategy:
159159
strategy: "default" # Optional. Default: default. Which Scaling Strategy to use.
160160
```
161161

162-
Select a Scaling Strategy. Possible values are `default`, `custom`, or `accurate`. The default value is `default`.
162+
Select a Scaling Strategy. Possible values are `default`, `custom`, `accurate`, or `eager`. The default value is `default`.
163163

164164
> 💡 **NOTE:**
165165
>
@@ -230,6 +230,11 @@ if (maxScale + runningJobCount) > maxReplicaCount {
230230
```
231231
For more details, you can refer to [this PR](https://github.com/kedacore/keda/pull/1227).
232232

233+
**eager**
234+
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.
235+
236+
To better understand the scenario, you may refer to [this issue](https://github.com/kedacore/keda/issues/5114).
237+
233238
---
234239

235240
```yaml

0 commit comments

Comments
 (0)