-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Create a mechanism for backup/restore of ${PROJECTS_ROOT} from one OpenShift cluster to another. #23570
Copy link
Copy link
Closed
Closed
Create a mechanism for backup/restore of
${PROJECTS_ROOT} from one OpenShift cluster to another.#23570Feature
Copy link
Labels
area/che-operatorIssues and PRs related to Eclipse Che Kubernetes OperatorIssues and PRs related to Eclipse Che Kubernetes Operatorarea/dashboardkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.status/in-progressThis issue has been taken by an engineer and is under active development.This issue has been taken by an engineer and is under active development.
Metadata
Metadata
Labels
area/che-operatorIssues and PRs related to Eclipse Che Kubernetes OperatorIssues and PRs related to Eclipse Che Kubernetes Operatorarea/dashboardkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.status/in-progressThis issue has been taken by an engineer and is under active development.This issue has been taken by an engineer and is under active development.
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
✅ Done
Status
Done
Is your enhancement related to a problem? Please describe
In the even of a cluster outage, a significant number of developers will be unable to work.
What is needed is a mechanism to recover a workspace back to a known good state, including any uncommitted changes to the code base or other work.
Describe the solution you'd like
I am building a simple prototype which uses a FROM Scratch container image to store the state of a workspace.
https://github.com/cgruver/workspace-backup-prototype
Prototype Backup -
/projectsfrom the workspace PVC.Prototype Restore flow -
${PROJECTS_ROOT}before starting the workspace.I am currently working on extending the prototype to use the internal registry of the secondary OCP cluster in order to manage RBAC on the container images and restrict access to the user who created the original workspace.
Describe alternatives you've considered
PVC snapshots - rejected because of the complexity of managing restore across clusters.
DevWorspace mirroring - rejected because of the complexity of synching data and Custom Resources across clusters.
Additional context
No response