Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
notebook-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Feb 4, 2021
1 parent 177e8e9 commit f4b3c51
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/blazingsql/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.9
version: 0.1.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 3 additions & 1 deletion charts/blazingsql/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.service.image.repository }}:{{ .Values.service.image.tag | default .Chart.AppVersion }}"
command: ["/bin/sh","-c"]
args: ["/data/{{ .Values.init.filename}} /run_jupyter.sh jupyter-lab --notebook=/blazingsql/ --allow-root --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token='$(PASSWORD)'"]
args: ["/data/{{ .Values.init.filename}} /run_jupyter.sh jupyter-lab --notebook-dir=/blazingsql/ --allow-root --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token='$(PASSWORD)'"]
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
env:
- name: SHELL
value: /bin/bash
- name: PASSWORD
value: {{ .Values.security.password }}
{{- if .Values.environment.root }}
Expand Down
2 changes: 1 addition & 1 deletion charts/jupyter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.10
version: 0.2.11

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/jupyter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.service.image.repository }}:{{ .Values.service.image.tag | default .Chart.AppVersion }}"
command: ["/bin/sh","-c"]
args: ["/data/{{ .Values.init.filename}} start.sh jupyter-lab --notebook=/home/$(NB_USER)/work --NotebookApp.token='$(PASSWORD)'"]
args: ["/data/{{ .Values.init.filename}} start.sh jupyter-lab --notebook-dir=/home/$(NB_USER)/work --NotebookApp.token='$(PASSWORD)'"]
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
env:
- name: NB_USER
Expand Down
2 changes: 1 addition & 1 deletion charts/tensorflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.5
version: 0.2.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/tensorflow/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.service.image.repository }}:{{ .Values.service.image.tag | default .Chart.AppVersion }}"
command: ["/bin/bash","-c"]
args: ["ln -sf -t /tf/work/ /tf/tensorflow-tutorials && /data/{{ .Values.init.filename}} jupyter-lab --notebook=/tf/work --allow-root --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token='$(PASSWORD)'"]
args: ["ln -sf -t /tf/work/ /tf/tensorflow-tutorials && /data/{{ .Values.init.filename}} jupyter-lab --notebook-dir=/tf/work --allow-root --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token='$(PASSWORD)'"]
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
env:
- name: SHELL
Expand Down

0 comments on commit f4b3c51

Please sign in to comment.