-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for one-off jobs in Docker Swarm #2829
Comments
Hi @pklejch Do you think you can open a pull request for that? Have a nice day :) |
Hi, |
This is also useful for ansible module ansible-collections/community.docker#28 . |
Hi, Any update on this? Any PR has been made or could I help? |
Hi, I have partial, working but ugly prototype which kinda does what I needed to do. But I haven't able give it enough time to make it pretty for PR. Now with summer holidays and due to the fact that everything is opening again (because of coronavirus) I don't have that much time. It would be nice, if someone could do it the right way. |
Fixes: docker#2829 Signed-off-by: Leonard Kinday <[email protected]>
Hello, any progress on this? is that fix from @kinday good enough for submitting a PR ? |
Fixes: docker#2829 Signed-off-by: Leonard Kinday <[email protected]>
My preparation PR got merged (kudos to @milas) so I’ll open PR with the fix for this issue soon. |
Fixes: docker#2829 Signed-off-by: Leonard Kinday <[email protected]>
Add `global-job` and `replicated-job` modes Fixes #2829. Signed-off-by: Leonard Kinday <[email protected]>
Docker Engine 20.10 introduced option to run one-off jobs in Docker Swarm (https://docs.docker.com/engine/release-notes/#version-2010), this is achieved by two new modes for Swarm service:
replicated-job
andglobal-job
.It would be nice to have this possibility when creating Swarm service in docker-py.
Related PR which brought support for those new modes into Docker CLI: docker/cli#2262
The text was updated successfully, but these errors were encountered: