Skip to content

Add support for replicated-job#402

Open
douglascamata wants to merge 2 commits intocrazy-max:masterfrom
douglascamata:support-swarm-jobs
Open

Add support for replicated-job#402
douglascamata wants to merge 2 commits intocrazy-max:masterfrom
douglascamata:support-swarm-jobs

Conversation

@douglascamata
Copy link

@douglascamata douglascamata commented Jun 21, 2025

This PR adds support for replicated-job Services, which was pretty straight forward to add.

global-job mode seems to already work. I am successfully using it in a Docker Swarm cluster, but only with 1 node so take it with a grain of salt. I think the force update is what makes it work.

Signed-off-by: Douglas Camata
<159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
@douglascamata douglascamata requested a review from crazy-max as a code owner June 21, 2025 09:26
@manyhats492
Copy link

Based on how replicated-job functions, there should be no need for a specific label of swarm.cronjob.replicas. The user should be using the --replicas and --max-concurrent flags when using replicated-job. I think the amount of code changes could be reduced here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants