Running sidekiqswarm on docker container
Hi Mike please advice on how to run sidekiqswarm on docker container thanks yossi
Could you be more specific? What's the problem?
We have sidekiq ent as a service (systemctl) and we moved our app to AWS k8s with docker and I want to know what the best practice in this configuration is.
From: Mike Perham @.> Date: Wednesday, 26 June 2024 at 15:51 To: sidekiq/sidekiq @.> Cc: yossi edri @.>, Author @.> Subject: Re: [sidekiq/sidekiq] Running sidekiqswarm on docker container (Issue #6346)
Could you be more specific? What's the problem?
— Reply to this email directly, view it on GitHubhttps://github.com/sidekiq/sidekiq/issues/6346#issuecomment-2191614516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAI4K3M33RODPWKYEU7LQDTZJK2NXAVCNFSM6AAAAABJ5UIM76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGYYTINJRGY. You are receiving this because you authored the thread.Message ID: @.***>
Oh, you are migrating from systemd to docker. I don't have a good answer for you. I can't help with 3rd party tooling which I have no experience with.
I don't think we have a Docker wiki page but we do have https://github.com/sidekiq/sidekiq/wiki/Kubernetes
And starting sidekiqswarm in Docker should be very similar to Sidekiq, just replace bundle exec sidekiq with SIDEKIQ_COUNT=2 bundle exec sidekiqswarm. Make sure you set SIDEKIQ_COUNT to reflect the CPU core count which the Docker container has access to.