Skip to content

Prototype using persistent volumes for storage of user data #8104

Closed
@kylos101

Description

@kylos101

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:

  1. If a node powering a workspace is evicted from the cluster unexpectedly, test we can backup the user's data to object storage.
  2. How might this look as a new component, where it's sole purpose is to backup from persistent volumes?
  3. Would these persistent volumes tolerate a cluster failure?
  4. 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)?

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions