Skip to content

Commit

Permalink
Add documentation for 'per-user' storage-type
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
  • Loading branch information
AObuchow committed Aug 8, 2022
1 parent be403ba commit d20bf94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/additional-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ spec:

where `<storage-type>` is one of

* `common`: Use one PVC for all workspace volumes, mounting Devfile volumes in subpaths within the common PVC
* `per-user`: Use one PVC for all workspace volumes, mounting Devfile volumes in subpaths within the shared PVC
* `common`: An alias of the `per-user` storage-type, which behaves the same way as the `per-user` storage-type. Exists for legacy compatibility reasons.
* `per-workspace`: Every workspace is given its own PVC. Each Devfile volume is mounted as a subpath within the workspace PVC.
* `ephemeral`: Replace all volumes with `emptyDir` volumes. This storage type is non-persistent; any local changes will be lost when the workspace is stopped. This is the equivalent of marking all volumes in the Devfile as `ephemeral: true`
* `async`: Use `emptyDir` volumes for workspace volumes, but include a sidecar that synchronises local changes to a persistent volume as in the `common` strategy. This can potentially avoid issues where mounting volumes to a workspace on startup takes a long time.
Expand Down

0 comments on commit d20bf94

Please sign in to comment.