elyra
elyra copied to clipboard
Syntax for mounting PVC Volumes is confusing
Currently, we use a very esoteric syntax for mounting PVCs to pipelines /mnt/path=existing-pvc-name
.
The current UI asks the user to specify a list of strings, without even explaining what the syntax is in the UI.
Screenshot of current state in the "node properties" section:
We can make this MUCH easier to use by making it a list with TWO fields, one for "mount path" and the other for "PVC name".
(OR: At very least, we can update the text above the list to explain the MOUNT_PATH=PVC_NAME
syntax)
We are planning to address this (and the same usability issue for inputting secrets (available in 3.9+)) in version 3.10. There's some front-end infrastructure work ongoing that will add support for more user-friendly widgets. @ajbozarth and @marthacryan are the owners.
To add to this, is there a way of knowing the absolute path of the working directory beforehand? It seems that right now it's <working dir of runtime image>/jupyter-work-dir
, which changes depending on the runtime used.
Ideally, is there a way to make the working dir fixed? Or to specify volume mounts relatively?
Ideally, is there a way to make the working dir fixed? Or to specify volume mounts relatively?
Not currently, but support could probably be added in the future.
@ptitzler - pushing this off given the time frame left for 3.11 and resource constraints. can discuss if do not agree.