beacon-biosignals / K8sClusterManagers.jl

A Julia cluster manager for Kubernetes
Other
31 stars 5 forks source link

`env` kwarg in `addprocs` not supported #92

Open kleinschmidt opened 2 years ago

kleinschmidt commented 2 years ago

addprocs(machines, ...) documentation describes a keyword argument env, which accepts an iterable of pairs and set the environment variables on the remote machine(s) appropriately. this is possible to do manually with configure but it might be a nice convenience to support the abbreviation as well.

omus commented 2 years ago

Definitely should be added. Should be pretty straight forward to add. We'll just need to pass params [:env] into worker_pod_spec and then update worker_pod_spec to add the environmental variables into the pod specification.