Closed
Description
Is your feature request related to a problem? Please describe
This is a test and learn, so we can explore using persistent volumes to store /workspace
data. https://www.notion.so/gitpod/Ensure-durability-and-availability-of-user-workspace-files-9edff6bbf87248d5ac73a7d4548ee4b3
Describe the behaviour you'd like
Happy path:
Store working copy files, /workspace
, on a distinct persistent volume. When a workspace is stopped, it's data must then be backed up, and the persistent volume removed.
Questions:
- If a node powering a workspace is evicted from the cluster unexpectedly, test we can backup the user's data to object storage.
- How might this look as a new component, where it's sole purpose is to backup from persistent volumes?
- Would these persistent volumes tolerate a cluster failure?
- How will this impact our ability to start a workspace, that was previously shutdown, where the files still exist in the persistent volume? Can we restore the state of the workspace from the persistent volume (the latest data) rather than object storage (the previous backup)?