Open KeranYang opened 1 year ago
let's not call it udSourceVolumes
, rather udVolumes
and we can generalize and attach it anywhere.
Can we go with Kubernetes native Volume
definition, and we default the mount path?
Can we go with Kubernetes native
Volume
definition, and we default the mount path?
yes, but we do not want to conflict with the top-level name (volumes
vs. udvolumes
), right?
Can we go with Kubernetes native
Volume
definition, and we default the mount path?yes, but we do not want to conflict with the top-level name (
volumes
vs.udvolumes
), right?
Correct. What I meant was, use the native Volume
struct for the slice, instead of building our own. The example yaml obviously is doing something with our own struct.
Correct. What I meant was, use the native
Volume
struct for the slice, instead of building our own. The example yaml obviously is doing something with our own struct.
absolutely
Can we go with Kubernetes native Volume definition, and we default the mount path?
Sry correct me is I am wrong. Why can we default the mount path? This is not for built-in source hence the platform is not supposed to know where the secrets are mounted.
Can we go with Kubernetes native Volume definition, and we default the mount path?
Sry correct me is I am wrong. Why can we default the mount path? This is not for built-in source hence the platform is not supposed to know where the secrets are mounted.
For example, mount them to /var/numaflow/vols/{volume-name}
?
For example, mount them to /var/numaflow/vols/{volume-name}?
This requires a mutual agreement between UDF/UDSource/UDSink and the platform.
For example, mount them to /var/numaflow/vols/{volume-name}?
This requires a mutual agreement between UDF/UDSource/UDSink and the platform.
What does it mean?
Synced offline with Derek. It's ok to maintain a mutual agreement that all user-defined volumes are mounted under a dedicated path like /var/numaflow/vols/{volume-name}
. We will figure out the exact naming as we start implementing this feature.
Problem Statement
Currently when a user wants to define a UDSource, couple of volumes are required to hold data like config map and secrets. An example is as below.
The problem is that user needs to ensure the name of the volume and the corresponding name of volumeMount are exactly same. e.g.
my-config-mount
appears twice in the template above.A better user experience would be to only specify volume mount name once. Something like below:
This applies to all UD artifacts.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.