devfile / devworkspace-operator

Apache License 2.0
67 stars 55 forks source link

Make workspace PVC's Access mode configurable #1019

Open Ex4amp1e opened 1 year ago

Ex4amp1e commented 1 year ago

Description

Current PVC spec has AccessModes hardcoded to ReadWriteOnce value.

It may be helpful to configure AccessModes parameter and to require RWX access from the storage provider and rely, that there can't be a situation, where workspaces are no longer properly distributed across the nodes.

AObuchow commented 1 year ago

@amisevsk do you have any thoughts on this?

One thing that comes to mind is whether this should be configurable at the devworkspace level and DWOC level, or just the DWOC. Since the storage class is exclusively configured by the DWOC, I would imagine this should be a DWOC option.