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.

Add volumes to machine configuration

See original GitHub issue

Since in Che6 we move to multicontainer/sidecar way it become more important to be able to describe “interesting for workspace” persistence storage as a part of workspace configuration.

Currently, there are two ways to describe in a case of attaching (mounting, syncing etc) volumes (folders) with persisted data:

  • /projects folder attached to “ws-agent” machine is a sign to attach identified persistence storage to it
  • everything else (like an arbitrary PVC) described in an infrastructure specific recipe (docker volume mount, PVC etc).

It is proposed to add “volumes” section into workspace->environment->machine config, like:

 volumes:
    <name>:
        path:</path/to/machine's/folder>
        properties:{} - do we need that as option?

@garagatyi @sleshchenko @skabashnyuk

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
garagatyicommented, Oct 26, 2017

Would be useful to persist .m2 and other development data

0reactions
garagatyicommented, Nov 7, 2017

@benoitf can you elaborate on how do you see it work for both openshift and docker infrastructures for some recipe supported by both, e.g. compose (not supported now, though)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and configure a volume - Product documentation
Create and configure a volume · Navigate to the Namespace window. · Select the SVM from the drop-down menu. · Click Mount. ·...
Read more >
App Volumes Manager Configuration Settings Page
You can configure some of the settings directly from the Settings page, and others through the environment variables.
Read more >
Volumes - Docker Documentation
Volume drivers let you store volumes on remote hosts or cloud providers, to encrypt the contents of volumes, or to add other functionality....
Read more >
Adding volumes - IBM
A volume configuration is the number of volumes and the respective formats, sizes and mount points associated with the virtual machine.
Read more >
13.3. Using Storage Volumes Red Hat Enterprise Linux 7
To add storage devices to a guest virtual machine, use the attach-disk command. The arguments that contain information about the disk to add...
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