choldgraf on master
Switch from conda to pip in RTD Merge pull request #1398 from G… (compare)
i think you need to look into the jupyter notebook server API to tell it to shutdown the kernels. I think you can also tell it to shutdown itself which will lead to the container exiting.
Thanks @betatim! I am able to shut down kernels, but afaik, shutting down all kernels does not actually terminate the notebook server itself. Is this what a "session" is (https://github.com/jupyter/jupyter/wiki/Jupyter-Notebook-Server-API#sessions-api)? If I shut down my session, will the server shut down? My goal is to get kubernetes to actually shut down the pod and free up associated resources, but without any explicit kubernetes access.