-
Notifications
You must be signed in to change notification settings - Fork 244
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
Implement Devfile volume support #2472
Comments
/area devfile |
I can take a look at this, /assign @maysunfaisal |
I have a branch with changes for the Devfile volumes based on the poc branch https://github.com/rajivnathan/odo-fork/compare/kdo-poc-devfile...maysunfaisal:2472-pvc-1?expand=1. This assumes Devfile components can share volumes(see issue #2510) and assumes a default volume size of I can open PRs in the odo repo once the PRs for the parser and kclient functions are in. |
DescriptionWith the feature story for odo to consume devfiles(see https://github.com/eclipse/che-devfile-registry/tree/master/devfiles and epic #2470), we want This issue deals with the volume support for the devfile components. On For example consider the devfile component snippet:
The devfile has a total of three unique volumes - The two containers If you would like to discuss about volume sharing across Acceptance CriteriaThe logic discussed above has been considered and broken down to the following major pieces in the checklist. A working POC for the devfile volume implementation, can be found at https://github.com/rajivnathan/odo-fork/compare/kdo-poc-devfile...maysunfaisal:2472-pvc-1?expand=1. The PR numbers will be added against the checklist as the code logic make their way from the devfile volume POC branch to the odo repo. For checklist item(s), that do not have a PR number, please have a look at the POC branch for the implementation.
Functionality we should update/improveWorking on this issue, it is evident that the current implementation of devfile do not support volume size, which the |
I have a feeling that we are skipping a step here. Not sure if it makes sense to start working on volumes if we don't have containers that would use them. |
@kadel yes, you are right. As @rajivnathan is waiting on the devfile parser, he had worked temporarily on the poc branch where he took the poc parser and implemented a first pass of devfile component pod creation. I took Rajiv's poc devfile branch and worked on the first pass of devfile volumes which is what I meant to indicate by my POC branch above in the comments - the branch https://github.com/rajivnathan/odo-fork/compare/kdo-poc-devfile...maysunfaisal:2472-pvc-1?expand=1 has the devfile volume first pass implementation which is based on Rajiv's poc devfile component pod implementation The PR #2546 also just has the kclient implementations for the volume. There is currently no other volume logic in there. I am waiting for the Devfile component PR in the odo master branch before proceeding. |
Devfile components allow specifying volumes. eg. See https://github.com/eclipse/che-devfile-registry/blob/master/devfiles/java-web-spring/devfile.yaml
See comment #2472 (comment) for details
The text was updated successfully, but these errors were encountered: