numaflow icon indicating copy to clipboard operation
numaflow copied to clipboard

use container-type ENV to name server-info and UDS file

Open vigith opened this issue 10 months ago • 1 comments

Since we cannot have two different container types, we could do as follows.

${prefix}/numaflow/${UDContainer-type}/server-info ${prefix}/numaflow/${UDContainer-type}/uds.sock

{$prefix} could be /tmp/ or /var/run/ based on NUMAFLOW_POD env var, so it is easy to start the server locally.

vigith avatar Apr 13 '24 16:04 vigith

Maybe just use the ud container type env existence to determine if it's local or not.

whynowy avatar Apr 13 '24 18:04 whynowy