Open lresende opened 5 years ago
I think we're going to need to move the etc
directory under enterprise_gateway
in the repo so that the necessary files to assemble kernelspecs will be available following pip install.
I also believe this work should happen before #655 since it may circumvent that need entirely as values could be made available via the configuration file. The benefit of jinja templates, otoh, is that they would provide access to the "body" of the kernel.json file. However, I think we might find that that body is essentially empty since it would almost be entirely derived from configuration values.
Today we ask users to manually download and handle the installation of Jupyter Enterprise Gateway sample kernelspecs. They are also responsible to modify/update parameters on all installed kernelspecs (e.g. spark_home, etc)
A better user experience would be to handle some of these internally, and enable users to just install a given set of kernelspecs, based on the platform being used, and with the ability to update specific configurations. Something like:
The Apache Toree kernel has a similar user experience, and we could use that implementation as an example.