-
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
[question] Support for docker tmpfs mounts #3589
Comments
Hi, thanks for the feature request. Generic tmpfs support is in our future roadmap but is not currently enabled. See related ticket #3021. Keeping this issue open to track future development- let us know if anything else comes up in the future. |
What's the status of this feature? I was looking into implementing this. |
Hey, thanks for the question. This is still in our future backlog. By generic tmpfs support, we mean that users in the future will be able to create tmpfs mountpoints beyond only |
But we are still talking only about the docker driver, right? Will you accept a PR for this? If it doesn't interfere with your work I'd be happy give it a shot. |
@filipochnik I'm afraid we won't accept docker-only PRs for additional tmpfs support. It will be part of a larger cross-driver volumes effort in the coming months that will require scheduling changes. In particular we'll need the scheduler to account for additional memory allocated to the tmpfs. Sorry for the bad news! We know our lack of generic volume management is a big pain point for some users and will be getting to it soon! |
@schmichael Gotcha! |
@filipochnik Oh! Well in that case I'll do some digging and see if there are any fun issues in our backlog! :) |
Awesome, thanks! |
What's the status of this? This feature is useful to me. |
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. |
We currently run a job which requires tmpfs for temporary storage (it writes around 5GB of data from one process every few seconds and reads it back multiple times into other processes, anything else than tmpfs is too slow, even zram is too slow and causes too much overhead)
I can't figure out if it's possible to tell the docker driver to mount a new volume of type tmpfs into the container right now, it seems like it's not possible as you only support "Volume type mounts" which i guess means predefined docker-volumes only?
I'd like nomad to support creating a tmpfs mount at a specified path in the container. The options i've found for doing this with docker are:
Potentially, extending the docker mounts support with a "type" flag and passing that through to the docker daemon should work well?
The text was updated successfully, but these errors were encountered: