-
Notifications
You must be signed in to change notification settings - Fork 95
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
[ENH] - Add ability to configure Jhub Apps in nebari config file #2803
Comments
Should jhub-apps overrides config be used for it or should it be a separate section? For reference:
Also looks like there is some overlap with the work for deploying from a git repo which has a config file |
I think it belongs in a separate section from overrides.
Could you link to that work here @krassowski so I can look into it further? |
It looks like /~https://github.com/nebari-dev/jhub-apps/blob/023fc57edf62411600d39ae1a607f9a13027a718/jhub_apps/tests/tests_e2e/test_api.py#L21 and /~https://github.com/nebari-dev/jhub-apps-from-git-repo-example/ could be similar/useful to this feature. |
One thing I don't understand is where is the app config data stored in persistent storage? Does it end up in the jupyterhub database somehow? |
Okay, more details on this. We should be able to specify which user the app belongs to. Should be able to delete other servers of that user that are not passed in. |
Feature description
Allow a Jhub app to be configured on nebari startup via the Nebari config file by adding something like the following to the nebari config file.
Ideally, this would also retry deployment if the filepath or conda environment aren't present initially e.g. files are still being downloaded, conda env is still being built. Alternatively, Jhub apps could create the app (e.g. a tile shows up for it on the jhub apps startup screen), but doesn't start it yet. The inputs are only validated once a user goes and starts the app via the GUI.
Value and/or benefit
This would enable the creation of a RAG distribution of Nebari. The goal would be to allow people to easily try out Ragna and other AI apps in the future. This would be done by creating a
nebari-ragna
plugin which adds a--distr=ragna
cli arg tonebari init
which would configure a ragna conda env, gpus, and sets up the ragna app via jhub apps by adding to the nebari config file.See https://docs.google.com/document/d/1mlZHAxIusTdYlnT6rfHxCpXi88fND2Cs1EDzgiL1Gxc for more details.
This feature would also allow the infrastructure as code approach to extend to deployed Jhub apps which some users may prefer.
Anything else?
I'm not sure of tho following:
The text was updated successfully, but these errors were encountered: