dask-kubernetes
dask-kubernetes copied to clipboard
Pod name generation fails on some images
Pod name generation relies on getpass.getuser()
. As per documentation,
getpass.getuser()
checks env for LOGNAME
, USER
, LNAME
and USERNAME
. As a matter of fact, daskdev/dask:latest
does not set these.
There are likely many assumptions along these lines. This library is often used with zero-to-jupyterhub which does set these are part of the scheduling.
Would be great to fix this with some more sensible default.
The classic KubeCluster
was removed in https://github.com/dask/dask-kubernetes/pull/890. All users will need to migrate to the Dask Operator. Closing.