Skip to content
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

integrate jupyter notebooks / hub with testground #56

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions k8s/jupyter/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ARG BASE_CONTAINER=jupyter/datascience-notebook

FROM $BASE_CONTAINER

ADD requirements.txt /

RUN pip install jupyter-client --upgrade

RUN pip install -r /requirements.txt
17 changes: 17 additions & 0 deletions k8s/jupyter/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
proxy:
secretToken: 39f9a0b3f7cb7110e82369a5932a2d875241aaf6bb833b5d96f4d8b3ce22cd05

singleuser:
image:
# Get the latest image tag at:
# https://hub.docker.com/r/jupyter/datascience-notebook/tags/
# Inspect the Dockerfile at:
# https://github.com/jupyter/docker-stacks/tree/master/datascience-notebook/Dockerfile
name: nonsens3/testground-jupyter-base
tag: latest
memory:
limit: 2G
guarantee: 2G
cpu:
limit: 2
guarantee: 2
9 changes: 9 additions & 0 deletions k8s/jupyter/notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
docker build -t nonsens3/testground-jupyter-base .

RELEASE=jhub
NAMESPACE=jhub

helm upgrade --install $RELEASE jupyterhub/jupyterhub \
--namespace $NAMESPACE \
--version=0.8.2 \
--values config.yaml
18 changes: 18 additions & 0 deletions k8s/jupyter/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
toml
jinja2
ndjson
pandas
numpy
matplotlib
python-highcharts
jupyter
ipywidgets
bunch
stringcase
papermill
jupyter-ui-poll
jupyter_contrib_nbextensions
durations
seaborn
ipywidgets
panel