What's the canonical way to provide ENV vars to Da...
# ask-community
c
What's the canonical way to provide ENV vars to DaskExecutor Schedulers/Workers? I'm assuming it's going to be in either
cluster_kwargs
or
client_kwargs
on https://docs.prefect.io/api/latest/executors.html#daskexecutor ?
k
Looks right to me! Was it to the KubeCluster that way.
c
@Kevin Kho Which one would it be 😅
cluster
or
client
kwargs?
Essentially I need the dask workers to have an env var to access Azure Storage
k
Oh I see. I would use cluster_kwargs and have it go into
env
of the KubeCluster
c
Ah, that'd be it!
Nice, thanks @Kevin Kho, that was the one!
👍 1