NB Grader on Kubernetes

199 views
Skip to first unread message

Jason Kuruzovich

unread,
Jul 12, 2017, 5:07:28 PM7/12/17
to Teaching with Jupyter Notebooks
Hello,

I’m trying to utilize NB grader with an instance of Jupyterhub on Kubernetes, created using Helm (https://github.com/jupyterhub/helm-chart)

 

I’ve rebuild the singleuser docker image to include the latest version of NB grader, adding the nbgrader extension. 

 

As far as I can tell, NB grader seems to be installed and functioning appropriately.  However, I've realized that nbgrader requires a directory to exchange files between users that is writeable by everyone but not readable, by default /srv/nbgrader/exchange.



Any idea how this might be possible?  My understanding is that each individual is getting customized data storage linked to their container but that there is nothing which could currently be used to connect them.  I just created an issue and the project has been really responsive, but I thought I'd bing this group to see if anyone had already developed solutions. 

 https://github.com/jupyterhub/helm-chart/issues/47 

Best,
Jason



Jason Kuruzovich
Director of the Severino Center for Technological Entrepreneurship
Associate Professor of Business Analytics
The Lally School of Management 
Rensselaer Polytechnic Institute
110 8th Street
Troy, New York 12180-3590


Jessica B. Hamrick

unread,
Jul 12, 2017, 5:59:59 PM7/12/17
to Jason Kuruzovich, Teaching with Jupyter Notebooks
Hi Jason,

I am not sure if anyone is currently using nbgrader with Kubernetes, and I haven't used Kubernetes myself so I can't speak to that. When I used nbgrader with docker swarm, we were using NSF on all of our node servers which gave the students access to the exchange directory. You might be able to do something similar by having a shared data container that is linked to all the student containers, but I am not totally sure if that would work.

Hope that helps!

Cheers,
Jess


--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-education+unsubscribe@googlegroups.com.
To post to this group, send email to jupyter-education@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/d6e2aada-ac87-4685-a372-53eb500a3f5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason Kuruzovich

unread,
Jul 18, 2017, 9:23:29 AM7/18/17
to Jessica B. Hamrick, Teaching with Jupyter Notebooks
Jessica,

Thanks for the reply.  

So no problem…I just need an alternate way to distribute and collect files.  So it seems that the LMS is obviously one way, but I’m curious whether anyone has done it with Github Classroom?  https://classroom.github.com

Thanks again. 

Best,
Jason 

Samuel Lelièvre

unread,
Sep 8, 2017, 12:00:47 AM9/8/17
to Teaching with Jupyter Notebooks
Jason, what do you mean by "the LMS"?

Have you considered CoCalc for distributing and collecting files?


By the way CoCalc recently moved to using Kubernetes.

Here is a tutorial on Teaching with CoCalc:


Best,
Samuel
Reply all
Reply to author
Forward
0 new messages