Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.4.3] - 20260910
### Changed
- Update default values.yaml to improve performance when openning big files and reduce .jupyter_ystore.db size.

## [1.4.2] - 20260504
### Changed
- Update version of Jupyter Hub dependency to 4.3.4
Expand Down
2 changes: 1 addition & 1 deletion charts/helix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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: "1.4.2"
version: "1.4.3"

# 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
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ def set_mounted_pvc_names_as_env_vars(spawner, pod):
set_pvc_env_vars(notebook_container, pvc_volumes)
set_mount_path_env_vars(notebook_container, mounted_volumes_with_paths)

def set_customs_env_vars(spawner, pod):
notebook_container = get_notebook_container(pod.spec.containers)
try :
for name, value in notebook_container.extra_env.items():
if name == "PYDEVD_DISABLE_FILE_VALIDATION":
continue

add_env_vars(notebook_container, name, value)
except Exception as e:
spawner.log.error("ERROR\nImpossible to add some var env: %s", e)


def modify_pod_hook(spawner, pod):
"""Modifie le manifeste du pod singleuser pour inclure dans le conteneur notebook le nom des PVCs monté en variable d'envirronement."""
Expand All @@ -167,6 +178,7 @@ def modify_pod_hook(spawner, pod):
spawner.log.info(
f"Injecting PVC names bounded to user {spawner.user.name} as environment variables")
set_mounted_pvc_names_as_env_vars(spawner, pod)
set_customs_env_vars(spawner, pod)


except Exception as e:
Expand Down
10 changes: 10 additions & 0 deletions charts/helix/tests/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,16 @@ jupyterhub:

extraEnv:
PYDEVD_DISABLE_FILE_VALIDATION: "1"
DISK_THRESHOLD : "3"

extraFiles:
collaboration-config:
mountPath: /etc/jupyter/jupyter_server_config.json
data:
SQLiteYStore:
squash_after_inactivity_of: 3600
YDocExtension:
document_load_progressively: true

# This section configures KubeSpawner directly to some extent but also indirectly through
# Helm chart specific configuration options such as singleuser.storage.type.
Expand Down
11 changes: 11 additions & 0 deletions charts/helix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,17 @@ jupyterhub:

extraEnv:
PYDEVD_DISABLE_FILE_VALIDATION: "1"
DISK_THRESHOLD: "70" # Percentage of usage before displaying a terminal notification

# Add extra configuration in your Jupyterlab
extraFiles:
collaboration-config:
mountPath: /etc/jupyter/jupyter_server_config.json
data:
SQLiteYStore:
squash_after_inactivity_of: 3600
YDocExtension:
document_load_progressively: true

# This section configures KubeSpawner directly to some extent but also indirectly through
# Helm chart specific configuration options such as singleuser.storage.type.
Expand Down
Loading