Romain
06/02/2021, 1:07 PMKevin Kho
Romain
06/02/2021, 1:39 PMRomain
06/02/2021, 1:39 PMKevin Kho
Romain
06/02/2021, 1:46 PMexecutor = DaskExecutor(
            cluster_class='dask_kubernetes.KubeCluster',
            cluster_kwargs={'pod_template': 'dask_worker_pod_template.yaml'),
                            'scheduler_pod_template': scheduler_pod_template,
                            'namespace': 'emtrails',
                            'n_workers': 1,
                            },
            adapt_kwargs={'minimum': 1,
                          'maximum': 10}
        )
flow.executor = executorRomain
06/02/2021, 1:47 PMKevin Kho
ciaran
06/02/2021, 2:11 PMn_workers = 1?ciaran
06/02/2021, 2:11 PMRomain
06/02/2021, 2:12 PMciaran
06/02/2021, 2:12 PMciaran
06/02/2021, 2:13 PMciaran
06/02/2021, 2:13 PMRomain
06/02/2021, 2:14 PMciaran
06/02/2021, 2:15 PMRomain
06/02/2021, 2:30 PMDASK_DISTRIBUTED__SCHEDULER__WORK_STEALING: "False"
If I recall correctly, in the early time of prefect, it was recommended to set it. I removed it and now the work is properly distributed.Romain
06/02/2021, 2:30 PMKevin Kho
ciaran
06/02/2021, 2:31 PM