-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support mounting volumes into executor context / task alloc dir #61
Comments
@cbednarski: you would like to share some data or do you mean host dirs & files sharing? (I'm translating task = container right now) |
@zrml We want to support something like this:
This way tasks in a task group can share data amongst themselves. I think there is already some work for this in the exec chroot implementation -- I probably have the directories wrong. @dadgar might be able to share some more details. |
not a bad idea... I think I see where you are going (shared volumes vs private). OK Cool. |
I see this similar to http://kubernetes.io/v1.0/docs/user-guide/volumes.html, and an equivalent to http://kubernetes.io/v1.0/docs/user-guide/volumes.html#awselasticblockstore would push this over the top! |
Very important thing. I would like to run cadvisor as a system type task, but:
|
@trong what happens when you do this as a direct / raw_exec? |
@ketzacoatl could you explain your question? It is possible to use raw_exec driver as workaround, in general - not. I think that for docker container we must use Nomad docker driver. |
Have you tested this? Why could you not use the |
Yes, I can start cadvisor through raw_exec driver.
For example - how to stop docker container correctly with raw_exec? |
Are there any chances to get such functionality with |
Hey this will come at some point. We just want to wait till we have volumes so that there is a consistent syntax. |
log.Logger based constructors for transport & snapshot store
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
When running a task we would like to share data between other tasks in a task group. Also, if using something like ceph or EBS we would like to support mounting a volume into the executor's context (chroot, cgroup, etc.) so it can write persistent data.
Probably depends on #60, so mounts are mounted into a tasks's environment and have some level of isolation from other tasks on the system.
The text was updated successfully, but these errors were encountered: