Skip to content

KEDA Autoscaler for BullWorkers #2018

Answered by lohart13
avneeshkumar asked this question in Q&A
Discussion options

You must be logged in to vote

I have been using the "bull:_queue_name_:wait" key with KEDA which allows scaling objects/jobs based on the qty of jobs in the wait list.

In the KEDA triggers section for redis, set the listName equal to "bull:_queue_name_:wait" (where _queue_name_ is the name of the queue) and then use listLength to trigger the scaling of the jobs/objects in relation to the number of waiting jobs. See example:

triggers:
- type: redis
  metadata:
    address: localhost:6379
    listName: bull:_queue_name_:wait
    listLength: "5"

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@avneeshkumar
Comment options

@lohart13
Comment options

Answer selected by avneeshkumar
Comment options

You must be logged in to vote
4 replies
@manast
Comment options

@lohart13
Comment options

@manast
Comment options

@lohart13
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2017 on June 26, 2023 21:10.