-
Notifications
You must be signed in to change notification settings - Fork 15
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
Decouple dmod.scheduler from Docker #556
Comments
To be fair, the concept of a The difficulty in this problem is not In our current architecture, the |
The metric of success here is the ability to write another implementation of some of this logic so that docker may be avoided and for an instance of a configured ngen to run sans container. Let's call it the 'dumb implementation'. The concept behind the idea isn't really the point; it's the mechanics. The mechanics just need to be able to support the base/dumb/idiotic case all around. For instance, the If implemented right, it'll be non-trivial but possible to switch out the used docker implementation for an implementation that can play with a K8 API. So the overall logic here wouldn't change since we still need to run this using docker swarm, we just need to create places so we can perform a switcheroo. |
I'm pretty sure that was reactor long ago so the scheduler and the |
The Forming a means of breaking |
@christophertubbs, I get what you are saying that there is a need for a workload management abstraction. What i'm trying to convey is that the operations a workload management abstraction should handle are split between the |
Not sure exactly when This has been on the wish list for some time, along with deployment support for different backends (e.g. |
To that point, @hellkite500, if we do go down this road, I think there is a strong argument to combine the some of the functionality of the |
dmod.scheduler has a firm dependence on Docker, which makes sense considering that this is a product that operates through Docker. The hard coupling, however, makes it difficult, if not nigh impossible, to inject an alternative of some sort.
The parts that directly link to Docker should be abstracted out into a common base class with the docker implementation defined within another module. That module should then be referenced dynamically so that dmod.scheduler may be loaded into memory, even on systems without access to docker.
The scope of this issue does not extend to creating alternate implementations. That should be in a task that may be completed after this step.
The text was updated successfully, but these errors were encountered: