dask-kubernetes icon indicating copy to clipboard operation
dask-kubernetes copied to clipboard

Pod name generation fails on some images

Open ig248 opened this issue 5 years ago • 1 comments

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.

ig248 avatar Jan 11 '20 15:01 ig248

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.

jacobtomlinson avatar Jan 13 '20 09:01 jacobtomlinson

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.

jacobtomlinson avatar Apr 30 '24 15:04 jacobtomlinson