breejs / bree

Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
https://jobscheduler.net
MIT License
3.02k stars 78 forks source link

how to deploy Bree in kubernetes container platform #100

Closed BrijJhala closed 3 years ago

BrijJhala commented 3 years ago

what i understand from nod-schedule home page that bree can be used for muti node cluster environment. now my question is how to I do scheduling to kubernetes container platform using bree. For example : I would like to schedule few jobs on pod1 and few other jobs on pod2. i.e. i can scale horizontally. appreciate your help !

bkstorm commented 3 years ago

I have the same question. What happens if two pods schedule the same job from database? Or I have to handle it by myself.

niftylettuce commented 3 years ago

Handle the queue yourself, we have an example in the README. This is simply a job scheduler, you can add the glue on top with your database.