question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to mount the same PV across mutiple workspaces (one workspace running at a time)

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:28 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
davidwindellcommented, Jul 26, 2021

I think that would work really well!

2reactions
amisevskcommented, May 22, 2020

I would also include a accessMode field in this case, in case the requirement is e.g. sharing a ROX volume.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found