Romain
01/26/2022, 12:17 PMAnna Geller
KubeCluster
configuration seems to be an issue here, can you share how did you define it? The storage and run config definition may be helpful as well (just redact any private info)Romain
01/26/2022, 12:39 PMDaskExecutor(
cluster_class='dask_kubernetes.KubeCluster',
cluster_kwargs={'pod_template': 'dask_worker_pod_template.yaml',
'scheduler_pod_template': scheduler_pod_template,
'namespace': 'namespace',
'n_workers': 1,
},
adapt_kwargs={'minimum': 3,
'maximum': 10,
'interval': '60000 ms'}
)
Runner:
KubernetesRun(env=envs, image=image, job_template_path=job_template_path)
Storage:
Azure(container='flows')
Anna Geller
Romain
01/26/2022, 12:47 PMRomain
01/26/2022, 12:50 PMAnna Geller
with Flow("name", executor=DaskExecutor(...))
Anna Geller
Romain
01/26/2022, 12:57 PMAnna Geller
...
executor = get_executor(local=False) # or True for local
with Flow("name", executor=executor) as flow:
Romain
01/26/2022, 1:16 PMAnna Geller
Romain
01/27/2022, 6:48 AMPostgresFetch
for database queries, so according to the source, the db connection is handle right there, without having to do anything else. But having said that, I wonder how you figure this issue out? This might help us to identify our problem next time it happens.Anna Geller
Anna Geller