Ability to mount the same PV across mutiple workspaces (one workspace running at a time)
See original GitHub issueIs your enhancement related to a problem? Please describe.
We would like to be able to attach a persistent volume (in our case an EFS volume) that is shared across multiple workspaces on Che. This would allow us to share static assets that are stored on an NFS drive with all workspaces of the same project. We work on large web projects where GBs of media needs to be mounted into the workspace.
Describe the solution you’d like
It would be great to be able to define this in the devfile, for example:
volumes:
- claimName: pvc-name
containerPath: "/home/user/media"
Describe alternatives you’ve considered
We thought of using the Kubernetes custom resource section of the devfile but this doesn’t seem to work.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:28 (23 by maintainers)
Top Results From Across the Web
Chapter 4. Configuring CodeReady Workspaces
Defines whether to run a job that creates workspace's subpath directories in persistent volume for the 'common' strategy before launching a workspace. Necessary ......
Read more >Workspaces - Tasks and Pipelines - Tekton
Tasks specify where a Workspace resides on disk for its Steps . At runtime, a TaskRun provides the specific details of the Volume...
Read more >Workspaces :: Tekton Tutorial
Mount ConfigMap based configurations as Workspace ... Will use maven task, maven task require two workspaces one for source and other for maven-settings....
Read more >Create a custom WorkSpaces image and bundle
You can use the same custom image to create various custom bundles by selecting different compute and storage options for each bundle. Important....
Read more >Sharing an NFS mount across two persistent volume claims
Before creating the PV object in OpenShift Container Platform, the persistent volume ... However, multiple pods in the same project can use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that would work really well!
I would also include a
accessMode
field in this case, in case the requirement is e.g. sharing aROX
volume.