'Kubernetes Jobs' in Docker Swarm

4/28/2020

Docker Swarm is comparatively easier to maintain compared to Kubernetes so I was thinking of migrating from a Kubernetes cluster to a Docker Swarm cluster.

In my Kubernetes cluster, I used Jobs extensively to spin up workers ad-hoc and is very critical to the main functions of the whole infrastructure. Best thing about Kubernetes Jobs is that they will shut down after a certain time limit after Job completion and recycle the resources.

I want to ask if there's a Kubernetes Jobs equivalent in Docker Swarm? So far I couldn't find official documentation on Docker website supporting this feature.

-- Wong Seng Wee
docker
docker-swarm
kubernetes
kubernetes-jobs

0 Answers