Ranu Goldan
05/19/2021, 2:00 AMKubernetesRun(
labels=["agent:k8s-dev"],
cpu_limit=8,
memory_limit="12Gi",
cpu_request=0.5,
memory_request="512Mi",
)
And my executor was:
DaskExecutor(adapt_kwargs={"maximum": 16, "minimum": 1})
When I start a flowrun with these config, prefect agent create a new pod with this config: (image attached)
The problem is:
The dask worker always killed first before the GKE pod going for upscale, and prefect logging says error KilledWorker
Any idea how to perfectly adjust between DaskExecutor and KubernetesRun?Dylan
Ranu Goldan
05/20/2021, 1:36 AMexecutor = DaskExecutor(
# adapt_kwargs={"maximum": 16, "minimum": 1},
cluster_kwargs={"num_workers": 16},
)
Then it just stucks while creating dask cluster (image attached)