-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As an admin, I want to enable fuse overlay storage driver for all workspaces #22809
Comments
To enable fuse for a workspace, there are three requirements:
For this feature I believe we can assume that the admin has already completed the first requirement. The idea I have for how this feature can be implemented is: If
This configmap satisfies the second requirement. There is no easy way at the moment to satisfy the third requirement, because there is no easy way for an admin specify necessary A possible solution would be to introduce a field in the DWOC for adding annotations (or maybe even pod or container overrides) for all workspaces, and have che-operator edit the DWOC (similar to what's happening in dev_workspace_config.go. |
Having this feature [1], admin is able to mount storage.conf for all users workspaces. [1] https://eclipse.dev/che/docs/stable/administration-guide/configuring-a-user-namespace/ |
Sounds good, I think it makes most sense for the admin to create the configmap for tor the So, to enable fuse for all workspaces, instead of introducing:
we can introduce:
And document that the admin must create the storage.conf configmap and set:
This method would allow admins to make additional changes to |
Closing since it is in 7.88.0 RN and I believe all PRs have been merged |
Is your enhancement related to a problem? Please describe
As an admin, I want to enable fuse overlay storage driver for Podman in all workspaces by setting a field in the CheCluster CR.
Describe the solution you'd like
For example:
For using the fuse overlay storage driver for Podman in workspaces, we need:
The OpenShift cluster's CRI-O engine should allow pods to access the
/dev/fuse
device.Workspaces must have the
io.kubernetes.crio-o.Devices: "/dev/fuse"
annotation in order to access/dev/fuse
For images based on UDI, Podman storage driver must be set to
overlay
vfs
storage driver set in the dockerfile:https://github.com/devfile/developer-images/blob/7e57123d72a7dcf183ce973a46fb6087f4dbeba2/universal/ubi8/Dockerfile#L233-L234
/home/user/.config/containers/storage.conf
file must be changed to:Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: