Add volumes to machine configuration
See original GitHub issueSince 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?
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (10 by maintainers)
Top 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 >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
Would be useful to persist
.m2
and other development data@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)