-
-
Notifications
You must be signed in to change notification settings - Fork 155
Closed as not planned
Description
In our helm chart we pass dask-worker --name $(POD_NAME)
in the deployment definition; I tried to set something similar up when migrating to KubeCluster
, but it seems that these lines https://github.com/dask/dask-kubernetes/blob/main/dask_kubernetes/core.py#L149-L151 make it impossible to set your worker name at runtime bc you'll get a duplicate version of that argument (obviously the pod names are not known yet when you call KubeCluster()
).
I would think using pod names instead of 0, 1, ... would be preferable for almost all use cases, it makes the logs/dashboard a lot more interpretable. Maybe making this the default would be too drastic but I think at least supporting it would be a nice usability improvement.