Skip to content
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

Dagda swarm mode #42

Open
eliasgranderubio opened this issue Oct 14, 2018 · 3 comments
Open

Dagda swarm mode #42

eliasgranderubio opened this issue Oct 14, 2018 · 3 comments

Comments

@eliasgranderubio
Copy link
Owner

Short description

Create the new feature Dagda swarm mode for running dagda in a distribute way.

Solution

A possible solution for this issue would be develop a swarm mode which works as docker swarm, I mean, a Dagda agent could join/leave a swarm and these agents would be controled by Dagda server (master) for running static analysis or monitoring the containers no matter where those containers are. For this version it wouldn't be neccessary multiple Dagda server (master) run in a colaborative way.

@denzuko
Copy link

denzuko commented Nov 30, 2018

Wouldn't it be easier to have Dagda talk to the swarm api with a global deployment model and instead of doing rewrite for client(agent)/server(master) design?

@eliasgranderubio
Copy link
Owner Author

Maybe that option you describe would be better. Nowadays, Dagda has an agent for remote static anlaysis which is a different process but could be interesting to reuse the functionality already developed instead of rewrite both client and server, define a global model for Dagda agents and masters working together.

@denzuko
Copy link

denzuko commented Dec 5, 2018

Looks like one is using docker-py already so that would make it rather easy to just query for services within the docker driver.

With that then one should have an array of services which contains the image and container ids of all items on that swarm cluster.

I don't have a strong enough grasp of the code at this point to implement a PR but hopefully this gives some ideas as to how this can be implemented.

@eliasgranderubio eliasgranderubio modified the milestones: 0.8.0, 0.9.0 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants