Comments (11)
Any news on this issue?
from swarm-cronjob.
@danielgrabowski I'm going to start working on it but I'll need to do a large refactoring beforehand. Keep you in touch.
from swarm-cronjob.
@crazy-max @djmaze It seems that compose file syntax support for jobs only recently landed in Docker 23 (moby/moby#41895 (comment))
from swarm-cronjob.
I have the same problem. If I start a global service on 9 nodes running every 1m I can see that every minute it starts on a different set of nodes (usually 2 or 3 out of 9 more less randomly).
from swarm-cronjob.
Hi guys, I did some tests on my side and it appears that this could be due to the way the tasks on the Swarm side are managed. Maybe linked to a GC issue with task reaper. Any ideas @dperny?
from swarm-cronjob.
So, in spite of job support finally getting into Docker (yeah!), this project will probably still be useful as long as there is no cron scheduler in Swarm. @crazy-max Do you plan on migrating swarm-cronjob to the new model?
That should then probably fix this issue as well.
from swarm-cronjob.
@djmaze Yes I'm aware of this feature. That looks promising and I think it will benefit for the global mode support (and fix this issue).
from swarm-cronjob.
Is anyone aware if Docker CE 20.10 will be released in the near future? That will contain the new job support which blocks this issue.
from swarm-cronjob.
I have the same issue.
Cluster: 1 manager node with 2 worker nodes.
Docker version: 20.10.6
I ran busybox date
example in global mode.
date_test.0.p88rnuivp25o@swarm_test1 | Sun May 23 18:48:44 UTC 2021
date_test.0.66loc48rvrgd@swarm_test3 | Sun May 23 18:50:00 UTC 2021
date_test.0.d3j43d50ls90@swarm_test2 | Sun May 23 18:51:00 UTC 2021
date_test.0.49dmp9uvt1mt@swarm_test3 | Sun May 23 18:52:00 UTC 2021
date_test.0.bxnixn2wpetx@swarm_test3 | Sun May 23 18:48:47 UTC 2021
date_test.0.xvocor1a123r@swarm_test3 | Sun May 23 18:51:01 UTC 2021
date_test.0.flw796nt9mmy@swarm_test2 | Sun May 23 18:48:32 UTC 2021
date_test.0.km0tkw07iqww@swarm_test2 | Sun May 23 18:49:00 UTC 2021
swarm_test1
only appeared once.
from swarm-cronjob.
Any news on this issue? Mode global only runs on the node that swarm-cronjob is deployed. Other nodes never ran
from swarm-cronjob.
docker swarm ca --rotate
This command apparently solves the problem
from swarm-cronjob.
Related Issues (20)
- it is possible to use code in the schedule? HOT 1
- documentation mistake in mariadb exemple HOT 1
- Why no Windows Docker image ?
- [QUESTION] Registry authentication HOT 2
- Terminal not showing the output of the python file
- Feature: Adding support for automatically fetching the newest image
- Email/slack notifications on warnings & errors HOT 2
- docker cap_add seems to work only with replica to 1 and not in scheduled mode HOT 2
- Panic when trying to extract registry auth from a service without registry auth HOT 1
- Report failed cron jobs in swarm-cronjob log HOT 1
- Couple of questions HOT 2
- Prometheus metrics endpoint
- Support for swarm jobs
- [Feature Request] Let external scripts ask swarm-cronjob to run a job
- No registration of new cron jobs in swarm-cronjob.
- Keep the command running until it finishes even if there was an update to the service. HOT 2
- Support running multiple, isolated instances of `swarm-cronjob` within a single Docker Swarm cluster
- Ability to trigger cron job via swarm-cronjob cli HOT 2
- Provide a UI + API to allow visualizing and executing schedules and one off jobs HOT 1
- After Updating docker container no longer starts. it starts and immadiatley fails. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarm-cronjob.