From 82327fece5366b423b1dcc038e1f32a396b12593 Mon Sep 17 00:00:00 2001 From: Rafael Sarmiento Date: Fri, 30 Aug 2024 10:25:49 +0200 Subject: [PATCH] update hub after pip in dockerfile --- chart/f7t4jhub/templates/deployment-hub.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chart/f7t4jhub/templates/deployment-hub.yaml b/chart/f7t4jhub/templates/deployment-hub.yaml index 333be42..60218fb 100644 --- a/chart/f7t4jhub/templates/deployment-hub.yaml +++ b/chart/f7t4jhub/templates/deployment-hub.yaml @@ -11,6 +11,8 @@ metadata: {{- end }} spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: hub @@ -45,8 +47,7 @@ spec: - "/bin/bash" - "-c" - > - . /opt/conda/bin/activate && - conda activate py311 && + . /opt/jhub-env/bin/activate && jupyterhub --config /etc/config/jupyterhub_config.py --ip 0.0.0.0 {{- if .Values.hub.debug }} --debug{{- end }} ports: