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

[Thought] Using Volumes for java actions #35

Open
kameshsampath opened this issue Apr 18, 2018 · 3 comments
Open

[Thought] Using Volumes for java actions #35

kameshsampath opened this issue Apr 18, 2018 · 3 comments

Comments

@kameshsampath
Copy link

kameshsampath commented Apr 18, 2018

currently Java action jars are stored in couch DB and the streamed to the JarLoader while invocation. @gorkem is working to refactor that approach to save load and invocation time.

One of the thought is define a m2 kind of lay out and Java Action pick the jar from it instead of streaming. It could be modelled around GlusterFS and PV.

@kameshsampath kameshsampath changed the title [Question] Using Volumes for java actions [Thought] Using Volumes for java actions Apr 18, 2018
@rabbah
Copy link
Member

rabbah commented Apr 18, 2018

Volumes? As in mounted file system from the host?

@kameshsampath
Copy link
Author

yes @rabbah something like that, we an use PV as well but @gorkem felt its take a bit of time loading PV, so thinking of some way like GlusterFS kind of things.

My thoughts around proposing this idea were:

  • help big SI adopt OW with option that they connect their existing maven repos to the volumes
  • wsk create (java action) does not need to store the jar binary in couchdb instead it can point to maven GAV
  • when invoking action the maven GAV could be used to add that jar alone to CP and invoke it.

@223311
Copy link

223311 commented Jan 2, 2019

I need to access config file from host when calling action(Java action) by openwhisk .
But am unable to read from host(showing file not found exception).
So for that i need to add volume when docker java8action image/container bootup.
How i will add that volume info..
Please suggest..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants