Skip to content

Commit

Permalink
Making changes tovalues.yaml instead of hub specific config
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Jul 2, 2024
1 parent d5db7b5 commit bd41200
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 0 additions & 6 deletions deployments/datahub/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ jupyterhub:
c.QtPDFExporter.enabled = False
c.PDFExporter.enabled = True
c.QtPNGExporter.enabled = False
culling-config:
data:
# Allow jupyterlab option to show hidden files in browser
# https://github.com/berkeley-dsep-infra/datahub/issues/5825
ContentsManager:
allow_hidden: true
memory:
guarantee: 512M
limit: 1G
Expand Down
13 changes: 13 additions & 0 deletions hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ jupyterhub:
HistoryManager:
# We do not need to keep around history for IPython, and especially not on NFS
enabled: false
jupyter_server_config.json:
mountPath: /usr/local/etc/jupyter/jupyter_server_config.json
# if a user leaves a notebook with a running kernel,
# the effective idle timeout will typically be cull idle timeout
# of the server + the cull idle timeout of the kernel,
# as culling the kernel will register activity,
# resetting the no_activity timer for the server as a whole
data:
# Allow JupyterLab to show the 'View -> Show Hidden Files' option
# in the menu. Defaults are not changed.
# https://github.com/jupyterlab/jupyterlab/issues/11304#issuecomment-945466766
ContentsManager:
allow_hidden: true
culling-config:
mountPath: /etc/jupyter/jupyter_notebook_config.json
data:
Expand Down

0 comments on commit bd41200

Please sign in to comment.