https://prefect.io logo
Title
r

Romain

07/15/2020, 8:46 AM
Hi folks, Have been checking the page about dask cluster in K8s (https://docs.prefect.io/orchestration/recipes/k8s_dask.html#dask-cluster-on-kubernetes), and there is an env variable that I cannot figure out why it is useful. Nor finding any info about it. Can someone explain what it is used for :
DASK_DISTRIBUTED__SCHEDULER__BLOCKED_HANDLERS
?
j

josh

07/15/2020, 11:24 AM
Looks like it was added with the purpose of:
preventing some routes on the scheduler from being called by workers
And the docstring states:
A list of strings specifying a blacklist of handlers to disallow on the Scheduler
https://github.com/dask/distributed/pull/2556
👍 1
c

Chris White

07/15/2020, 3:55 PM
Yea it is not critical to set this environment variable; we should probably remove the reference to it within Prefect
👍 1
r

Romain

07/15/2020, 4:45 PM
Thanks