You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to having the persistent S3, having a persistent home directory is becoming more important especially if we have different types of workspaces.
The text was updated successfully, but these errors were encountered:
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.
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).
In addition to having the persistent S3, having a persistent home directory is becoming more important especially if we have different types of workspaces.
The text was updated successfully, but these errors were encountered: