-
Notifications
You must be signed in to change notification settings - Fork 93
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
Overloaded dask gateway fix #1777
Conversation
This reverts commit 47f9e79.
I spun up 50 clusters in 30 seconds with the following code (after nodes were already spun up):
|
can you test getting |
@dharhas I did both of those things. The test fails in the nebari.quansight.dev, and options worked as expected. |
I can probably fix it so it works with self signed certs by using the k8s service endpoint (e.g. curl -kL http://nebari-conda-store-server.dev.svc:5000/conda-store/api/v1/environment -H "Authorization: Bearer <token>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this and everything looks good to me! I had to use ProcessPoolManager
instead of:
with concurrent.futures.ThreadPoolExecutor(max_workers=50) as executor:
Either way, I was able to connect to 50 dask schedulers within a matter of seconds 🎉
This is awesome! @kcpevey let's test this out on the ESIP nebari training deployment at https://nebari-workshop.esipfed.org as soon as it's ready: I've added you as an admin on the private repo: https://github.com/ESIPFed/nebari-workshop It looks like we need to get @amsnyder to push the deployment as she was the one who configured and deployed this! Let's continue this discussion on ESIP slack... |
We would like to push these updates to our deployment so that we can use them in a workshop we are running on May 10th. Would you be able to create a release with these updates so that we can pull them? |
Hi @amsnyder, we working on getting a new release out either today or early next week :) |
Thanks @iameskild! If the release is delayed, is it possible for us to just update our images from:
to:
|
Unfortunately, I don't think that will work since conda store needs to add a token for dask gateway which is only done during the nebari deploy step with the latest version of nebari. You may be able to pip install the latest version of the develop branch of nebari as shown (https://stackoverflow.com/questions/20101834/pip-install-from-git-repo-branch) if needed, and deploy with this fix. I think that would work, but you may encounter other unforeseen issues doing that. |
Is there anything holding back the release at this point? |
No blockers. We're hoping to get it out today 🤞 |
Reference Issues or PRs
Closes #1750.
What does this implement/fix?
Put a
x
in the boxes that applyTesting
Any other comments?