Closed
Description
Bug description
The user workspace class preference is standard.
The prebuild was built with large workspace class.
Open a fresh new workspace from the prebuild project, and then the workspace uses the large node pool because the prebuild was built on a large node pool. Relaunch the workspace, and then it uses a standard node pool. So, the workspace pod can't be up.
This is because the VolumeSnapshot size is 50Gi, and the PVC size is 30Gi.
Steps to reproduce
Prepare the prebuild project
- Set the user's workspace class preference as large
- Configure a prebuild project and run the prebuild
Open workspace from the prebuild project
- Set the user's workspace class preference as standard
- Enable the user's PVC feature flag
- Do not enable the project to prebuild PVC feature flag
- Open the new workspace from the prebuild project
- Make sure the workspace is using the large node pool
g1-large-pvc
by checking the labelkubectl get pod <pod-name> --show-labels | grep gitpod.io/workspaceClass
- Check the corresponding PVC with size 50Gi
- Stop the workspace
- Check the VolumeSnapshot size is 50Gi
- Reopen the workspace. The workspace can't be open
Workspace affected
No response
Expected behavior
The workspace should keep use the large node pool. So the workspace can be open.
Example repository
No response
Anything else?
Similar to #12494