Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsense committed Jun 16, 2020
1 parent f9a3dd6 commit 40698d1
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
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
7 changes: 7 additions & 0 deletions k8s/jupyter/notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
RELEASE=jhub
NAMESPACE=jhub

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

0 comments on commit 40698d1

Please sign in to comment.