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

Investigate persistent storage in Che #111

Closed
gchang opened this issue Jul 7, 2020 · 3 comments
Closed

Investigate persistent storage in Che #111

gchang opened this issue Jul 7, 2020 · 3 comments
Assignees
Labels
ADE Algorithm Development Environment Subsystem JPL JPL related issues

Comments

@gchang
Copy link
Collaborator

gchang commented Jul 7, 2020

In addition to having the persistent S3, having a persistent home directory is becoming more important especially if we have different types of workspaces.

@gchang gchang added ADE Algorithm Development Environment Subsystem JPL JPL related issues labels Jul 7, 2020
@gchang gchang added this to the MAAP V1 D2 Sprint 4 milestone Jul 7, 2020
@bsatoriu
Copy link
Collaborator

The use of shared volumes in Che today is limited to cross-component sharing, and only in Che 7. Components, in the context of Che, refer to the components comprising a particular workspace. These components are configured in the Che "devfile".

Support for cross-workspace PVs is currently a severity P1 issue. As such, it should get included as a Che 7 feature once implemented.

There is no built-in support in Che 6 for shared PVs in a K8S cluster configuration. One solution for Che 6 would be to use a utility like rsync to synchronize users' separate workspace volumes with a master volume during the workspace startup process. The advantage to this approach is that we could control the timeline of development. We could also implement a design that uses the devfile, or contribute one to the github issue referenced above.

If time permits, I would recommend implementing persistent storage after upgrading to Che 7 so that we can make use of the existing efforts to support this natively in the devfile. This has the advantage of avoiding duplication of development effort.

@bsatoriu
Copy link
Collaborator

One edge case to consider for shared PVs is naming conflicts between projects. Consider a user who clones the same project in different workspaces. When using a single volume, we would need to partition projects by workspace either by creating subfolders or somehow identifying the workspace associated to its project(s).

@oddes
Copy link

oddes commented Jul 21, 2020

As per Dev, there was no development activity involved and it is planning purposes.

@oddes oddes closed this as completed Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADE Algorithm Development Environment Subsystem JPL JPL related issues
Projects
None yet
Development

No branches or pull requests

3 participants