-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[WIP] Adding mount options to functions. #309
Conversation
This allows functions to mouunt volumes and other directories. It uses the same configuration as is used by docker. Signed-off-by: Ali Al-Shabibi <[email protected]>
Hi, thank you for your contribution. There should be a proposal raised for PRs. Please read the contribution guide which explains that a proposal is needed before carrying out work. |
This allows functions to mouunt volumes and other directories. It uses the same configuration as is used by docker. Fixes openfaas#320 Signed-off-by: Ali Al-Shabibi <[email protected]>
I added a proposal (#320). Let me know if I missed anything else. |
Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. |
This allows functions to mount volumes and other directories. It uses the same configuration as is used by docker. Signed-off-by: Ali Al-Shabibi <[email protected]>
Please see comment one the linked issue. |
This allows functions to mount volumes and other
directories. It uses the same configuration as is
used by docker.
Signed-off-by: Ali Al-Shabibi [email protected]
Description
This change allows functions to mount volumes just as other containers running in a docker environment can. This pull request fixes #320.
Motivation and Context
Passing large amounts of data over the http/stdin isn't very efficient and can cause bottlenecks. Instead, functions can pick up data from known locations mounted into their running container.
How Has This Been Tested?
This has been manually tested by starting openfaas, creating a function over the REST API using the following json:
The resulting container was inspected to observe the volume was received and deployed by docker with the following output:
Types of changes
Checklist:
While this does not require new documentation, it would certainly benefit from it. I am happy to document it, if someone points me to the right documentation to update.
git commit -s