Skip to content

Commit 6b33f7f

Browse files
aregmAreg Melik-Adamyancursoragent
authored
Upgrade JupyterHub to 4.3.2 and JupyterLab to 4.5.3 (#51)
* Fix gpu_type to be conditional on NVIDIA flag in kind.sh The gpu_type Terraform variable was unconditionally set to "nvidia", causing the CUDA JupyterHub image to be referenced even on macOS where NVIDIA GPUs are not available. Now gpu_type is set to "nvidia" only when --with-nvidia is used, and "none" otherwise. Co-authored-by: Cursor <cursoragent@cursor.com> * Upgrade JupyterHub Helm chart to 4.3.2 and JupyterLab to 4.5.3 - Upgrade JupyterHub Helm chart from 3.3.8 to 4.3.2 (JupyterHub 5.4.3). - Update Helm repo URL to canonical hub.jupyter.org. - Add Authenticator.allow_all: true to handle JupyterHub 5.x breaking change that defaults to denying all users. - Upgrade jupyterhub pip package from 4.1.6 to 5.4.3 in the Docker image. - Pin jupyterlab to 4.5.3 in the Docker image. - Update pre-pull image tags for configurable-http-proxy and k8s-hub. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Areg Melik-Adamyan <areg@sphynx.local> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4b542ba commit 6b33f7f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

docker/icl-jupyterhub/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See also
22
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/main/images/singleuser-sample/requirements.in
33
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/main/images/singleuser-sample/requirements.txt
4-
jupyterhub==4.1.6
4+
jupyterhub==5.4.3
55
jupyterlab
66
nbclassic
77
nbgitpuller

scripts/etc/kind/images.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
docker.io/bitnami/postgresql:14.3.0
22
docker.io/kindest/kindnetd:v20220726-ed811e41
33
docker.io/kindest/local-path-provisioner:v0.0.22-kind.0
4-
jupyterhub/configurable-http-proxy:4.5.3
5-
jupyterhub/k8s-hub:2.0.0
4+
jupyterhub/configurable-http-proxy:4.6.2
5+
jupyterhub/k8s-hub:4.3.2
66
k8s.gcr.io/coredns/coredns:v1.8.6
77
k8s.gcr.io/etcd:3.5.3-0
88
k8s.gcr.io/kube-apiserver:v1.24.6

terraform/modules/jupyterhub/main.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ resource "helm_release" "jupyterhub" {
140140
name = "jupyterhub"
141141
namespace = kubernetes_namespace.jupyterhub.id
142142
chart = "jupyterhub"
143-
repository = "https://jupyterhub.github.io/helm-chart"
144-
version = "3.3.8"
143+
repository = "https://hub.jupyter.org/helm-chart/"
144+
version = "4.3.2"
145145
timeout = 1200
146146
# See https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/HEAD/jupyterhub/values.yaml
147147
# See https://zero-to-jupyterhub.readthedocs.io/en/latest/resources/reference.html
@@ -163,6 +163,9 @@ resource "helm_release" "jupyterhub" {
163163
}),
164164
<<-EOT
165165
hub:
166+
config:
167+
Authenticator:
168+
allow_all: true
166169
db:
167170
pvc:
168171
storage: 1Gi

0 commit comments

Comments
 (0)