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

Create a BinderHub helm chart for deployment onto 2i2c's infrastructure #1289

Merged
merged 18 commits into from Jun 7, 2022

Conversation

sgibson91
Copy link
Member

@sgibson91 sgibson91 commented May 9, 2022

This PR adds a binderhub helm chart with dask-gateway enabled under our helm-charts folder

@sgibson91 sgibson91 marked this pull request as draft May 9, 2022 12:37
@sgibson91 sgibson91 self-assigned this May 9, 2022
memory: 1Gi
singleuser:
{{- if .Values.dask-gateway.enabled }}
# Almost everyone using dask by default wants JupyterLab
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we can't template values.yaml files :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sgibson91
Copy link
Member Author

Ok, I've gone a different route. Two helm charts: binderhub and binderdask. Binderdask has the dask-gateway dependency. Yes, this sucks, but I also don't know what else to do given that (i) helm charts aren't composable, and (ii) we don't know what the future of BinderHub looks like yet given the upcoming GESIS work.

@sgibson91
Copy link
Member Author

I think validating that these charts are up-to-date with basehub/daskhub will be less filled with logic acrobatics as well with this approach.

@yuvipanda
Copy link
Member

@sgibson91 my suggestion is to just have one chart, and unconditionally enable dask-gateway for now as that's what we want for the pangeo hub. We can work on making it optional when we need to have a binderhub that doesn't have dask.

@sgibson91
Copy link
Member Author

@yuvipanda ok, made that change!

@sgibson91 sgibson91 marked this pull request as ready for review June 1, 2022 13:56
@sgibson91
Copy link
Member Author

@yuvipanda shall we add cryptnono as a dependency while we're at it?

@yuvipanda
Copy link
Member

@sgibson91 let's skip that in the initial PR as we work out some kinks in the mybinder.org-deployment?

Copy link
Member

@yuvipanda yuvipanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM!

@sgibson91
Copy link
Member Author

Just pushed an extra commit to include the repo2docker tag. will merge now.

@sgibson91 sgibson91 merged commit 0299f05 into 2i2c-org:master Jun 7, 2022
@sgibson91 sgibson91 deleted the create-binderhub-helm-chart branch June 7, 2022 10:22
@github-actions
Copy link

github-actions bot commented Jun 7, 2022

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/workflows/deploy-hubs.yaml?query=branch%3Amaster

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

Successfully merging this pull request may close these issues.

None yet

2 participants