elyra icon indicating copy to clipboard operation
elyra copied to clipboard

Syntax for mounting PVC Volumes is confusing

Open thesuperzapper opened this issue 2 years ago • 4 comments

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:

Screen Shot 2022-05-25 at 12 28 01

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)

thesuperzapper avatar May 25 '22 02:05 thesuperzapper

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.

ptitzler avatar May 25 '22 14:05 ptitzler

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?

Fantailed avatar Jul 18 '22 11:07 Fantailed

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 avatar Jul 18 '22 13:07 ptitzler

@ptitzler - pushing this off given the time frame left for 3.11 and resource constraints. can discuss if do not agree.

akchinSTC avatar Aug 18 '22 16:08 akchinSTC