Commit 5fd54b39 authored by Adam Fekete's avatar Adam Fekete

update jupyter image version; makeing the shared folder avilable inside the image

parent 881123b2
...@@ -5,7 +5,7 @@ k8component: { ...@@ -5,7 +5,7 @@ k8component: {
imageType: jupyter imageType: jupyter
imageSubtype: default1 imageSubtype: default1
subType: 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, port: 8888,
prefix: "/jupyter", prefix: "/jupyter",
homePath: "/home/beaker" homePath: "/home/beaker"
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
- image: "{{image}}" - image: "{{image}}"
name: "{{imageType}}" name: "{{imageType}}"
command: ["start-notebook.sh"] 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: ports:
- containerPort: {{port}} - containerPort: {{port}}
name: "main-port" name: "main-port"
...@@ -31,12 +31,12 @@ spec: ...@@ -31,12 +31,12 @@ spec:
- mountPath: "/normalized" - mountPath: "/normalized"
name: "normalized-data-volume" name: "normalized-data-volume"
readOnly: true readOnly: true
- mountPath: "/data/private" - mountPath: "/home/jovyan"
name: "private-data-volume" name: "private-data-volume"
- mountPath: "/data/shared" - mountPath: "/home/jovyan/shared"
name: "shared-data-volume" name: "shared-data-volume"
readOnly: true readOnly: true
- mountPath: "/data/shared/{{user}}" - mountPath: "/home/jovyan/shared/{{user}}"
name: "my-shared-data-volume" name: "my-shared-data-volume"
readinessProbe: readinessProbe:
httpGet: httpGet:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment