diff --git a/config/default-jupyter.hjson b/config/default-jupyter.hjson index da8bef72ec67a26568c24aa4a9f1db43379979ad..0401330263d2093e5dd8f27ace7579bd151fd806 100644 --- a/config/default-jupyter.hjson +++ b/config/default-jupyter.hjson @@ -5,7 +5,7 @@ k8component: { imageType: jupyter imageSubtype: default1 subType: default1 - image: "analytics-toolkit.nomad-coe.eu:5509/nomadlab/jupyter-image:0.999" + image: "analytics-toolkit.nomad-coe.eu:5509/nomadlab/jupyter-image:a7c1fd2" port: 8888, prefix: "/jupyter", homePath: "/home/beaker" diff --git a/templates/kube/jupyterTemplate.yaml b/templates/kube/jupyterTemplate.yaml index 66a0faf1d4da77689497f5fa042719db6f6caede..33af01673a98cfed6f273574f5c585b7565a6cbf 100644 --- a/templates/kube/jupyterTemplate.yaml +++ b/templates/kube/jupyterTemplate.yaml @@ -15,7 +15,7 @@ spec: - image: "{{image}}" name: "{{imageType}}" command: ["start-notebook.sh"] - args: ["--NotebookApp.token=\"\"", "--NotebookApp.base_url=/jupyter", "--NotebookApp.allow_origin=*", "--NotebookApp.notebook_dir=/data/private/"] + args: ["--NotebookApp.token=\"\"", "--NotebookApp.base_url=/jupyter", "--NotebookApp.allow_origin=*", "--NotebookApp.notebook_dir=/home/jovyan/"] ports: - containerPort: {{port}} name: "main-port" @@ -31,12 +31,12 @@ spec: - mountPath: "/normalized" name: "normalized-data-volume" readOnly: true - - mountPath: "/data/private" + - mountPath: "/home/jovyan" name: "private-data-volume" - - mountPath: "/data/shared" + - mountPath: "/home/jovyan/shared" name: "shared-data-volume" readOnly: true - - mountPath: "/data/shared/{{user}}" + - mountPath: "/home/jovyan/shared/{{user}}" name: "my-shared-data-volume" readinessProbe: httpGet: