Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Docker Swarm support #20

Open
danilopeixoto opened this issue Jul 7, 2020 · 3 comments
Open

Docker Swarm support #20

danilopeixoto opened this issue Jul 7, 2020 · 3 comments

Comments

@danilopeixoto
Copy link
Contributor

danilopeixoto commented Jul 7, 2020

I want to use Fiber to execute a job queue on a Docker Swarm cluster. Fiber already has a Docker backend that spawns processes as containers. What about spawning processes as Docker Swarm services?

Swarm would be a new backend, right?

@calio
Copy link
Collaborator

calio commented Jul 7, 2020

Hi @danilopeixoto, docker swarm is currently not supported, but it could be added as a new backend. I'm less familiar with Docker swarm, not sure if it has similar APIs like Kubernetes. If it does, it should be easy to create a new docker swarm backend and implement the functions here https://github.com/uber/fiber/blob/master/fiber/core.py#L79 with docker swarm API.

@danilopeixoto
Copy link
Contributor Author

Thanks @calio.

@calio
Copy link
Collaborator

calio commented Jul 8, 2020

Just out of interest, what is your main use case? Trying to understand different use cases so that future priorities can be prepared.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants