Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deployment to use Dask Kubernetes Operator #9

Open
matthewfeickert opened this issue May 5, 2024 · 4 comments
Open

Update deployment to use Dask Kubernetes Operator #9

matthewfeickert opened this issue May 5, 2024 · 4 comments
Assignees

Comments

@matthewfeickert
Copy link
Member

So it feels like the time to finally retire the classic KubeCluster implementation along with the HelmCluster.

I suspect that the update to dask-kubernetes is the reason. Maybe some JupyterLab integration would need to be updated accordingly, or perhaps some other backend thing, but for now I think it would be good to revert the change.

Originally posted by @alexander-held in usatlas/analysisbase-dask#49 (comment)

The Dask Kubernetes Operator has been the standard for deploying Dask on Kubernetes for over a year now. So it feels like the time to finally retire the classic KubeCluster implementation along with the HelmCluster.

https://github.com/dask/dask-kubernetes/releases/tag/2024.5.0

This would be useful to switch to as otherwise Dask will be stuck on the 2024.4.x releases.

@ivukotic is this possible?

@matthewfeickert
Copy link
Member Author

matthewfeickert commented May 5, 2024

You can see our dask configuration in the derived AB image or in Jupyter directly. Our clusters are deployed using Dask Operators. (We are testing a Dask Gateway with authentication and everything but don’t want to change anything till the DESY meetings. — @ivukotic

(From IRIS-HEP Slack)

@ivukotic Sorry, I'm not experience here, so can you point out what section of https://github.com/usatlas/analysisbase-dask-uc/blob/ccd0a8000c6ee3d82b53f3e022d81c4f4bc8d34f/dask_config.yaml is this specified in (or what section of the Dask Kubernetes Operator docs I should be looking at)? Also, if the deployment is already done with Dask Operators, why did @alexander-held encounter the issue from usatlas/analysisbase-dask#48?

(We are testing a Dask Gateway with authentication and everything but don’t want to change anything till the DESY meetings).

👍 Nice, thank you!

@matthewfeickert
Copy link
Member Author

@LincolnBryant @fengpinghu can you also take a look at this?

@fengpinghu
Copy link
Collaborator

It looks it's indeed using the classic KubeCluster because in the configuration file KubeCluster users worker template and scheduler template to create pods directly. We will look into either dask-operator or dask-gateway integration.

@matthewfeickert
Copy link
Member Author

We will look into either dask-operator or dask-gateway integration.

Great! Thanks very much, @fengpinghu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants