ciaran

    ciaran

    1 year ago
    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 ?
    Kevin Kho

    Kevin Kho

    1 year ago
    Looks right to me! Was it to the KubeCluster that way.
    ciaran

    ciaran

    1 year ago
    @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
    Kevin Kho

    Kevin Kho

    1 year ago
    Oh I see. I would use cluster_kwargs and have it go into
    env
    of the KubeCluster
    ciaran

    ciaran

    1 year ago
    Ah, that'd be it!
    Nice, thanks @Kevin Kho, that was the one!