Updates to the Devfile 2 model to support Che workspaces
See original GitHub issueIs your enhancement related to a problem? Please describe.
There are some features of workspaces that could be specified using a Devfile v1 that it’s not possible to specify using Devfile v2 yet.
Describe the solution you’d like
- Support ephemeral controller team
spec:
components:
- name: my-ephemeral-volume
volume:
ephemeral: false # Volume my-ephemeral-volume will be mounted as emptyDir
- asynchronous storage controller team
- Support secret and configmap injection (to review if we want to support current injection mechanism) controller team ^ we don’t need to have it on devfile model, we’re going to implement it in the same way as currently Che does, match secrets and configmaps with their labels/annotations.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Chapter 4. Authoring devfiles - Red Hat Customer Portal
Che -Theia plug-ins with tools, IDE features, and helpers that a developer would use in the workspace, for example, Git, Java support, SonarLint,...
Read more >Devfile v2 and the DevWorkspace Operator - Part 1
With version 7.28 of Che we have introduced a new workspace engine, the DevWorkspace Operator, that supports v2 of the Devfile specification ...
Read more >a simpler and more lightweight kubernetes-native architecture ...
Dashboard provides the list, status, progress of DevWorkspaces; Updates to the devfile model to support ephemeral and asynchronous volumes ...
Read more >Devfile v2 and IDE plug-ins in Eclipse Che - Medium
Milestone 1 introduced the first support of devfile v2 (start a basic workspace); Milestone 2 just landed in Eclipse Che 7.32.0 with the ......
Read more >Introduction to Eclipse Che :: Eclipse Che Documentation
Introduction to Eclipse Che. ... Workspace model. Che defines the ... Task support: Tasks from Visual Studio Code are extended and support Che...
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
@amisevsk makes sense. So that would not require a change in the devfile v2 model spec and I am closing this issue then. I have opened an issue for the
storageType
annotation: https://github.com/eclipse/che/issues/19194@l0rd No, I don’t think so. I view the ephemeral field on volumes as serving a separate purpose – it allows you to share data between containers without requiring persistent storage. The idea would be to have the overall workspace have
[common|ephemeral|async]
storage, but you can mark individual volumes in the devfile as ephemeral if you just want shared disk between images (a great example of this is the remote runtimes volume, which we want to be ephemeral even in an async/common workspace).Having a per-volume setting for storageType becomes very tricky, as there could be conflicts (e.g. one volume uses common and one uses async, which would mean mounting the common PV in two places).
For
storageType: ephemeral
, settingephemeral: true
on volumes would have no effect, but for common/async it’s needed.