Skip to content

Commit ca0fd47

Browse files
committed
various tweaks to the lab deployment
* make token a stack parameter * use 8080 * start in /notebook
1 parent 4686bd5 commit ca0fd47

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

stacks/jupyterhub-pyspark-hdfs/jupyterlab.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ spec:
2727
- bash
2828
args:
2929
- -c
30-
- /stackable/.local/bin/jupyter lab --ServerApp.token='token' --no-browser
30+
- /stackable/.local/bin/jupyter lab --ServerApp.token='{{ jupyterLabToken }}' --ServerApp.port=8080 --no-browser --notebook-dir /notebook
3131
env:
3232
- name: JUPYTER_PORT
33-
value: "8888"
33+
value: "8080"
3434
ports:
3535
- name: http
36-
containerPort: 8888
36+
containerPort: 8080
3737
volumeMounts:
3838
- mountPath: /notebook
3939
name: notebook

stacks/stacks-v2.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,18 +373,18 @@ stacks:
373373
- pyspark
374374
- spark-connect
375375
manifests:
376-
- helmChart: stacks/jupyterhub-pyspark-hdfs/jupyterlab.yaml
377-
- plainYaml: stacks/jupyterhub-pyspark-hdfs/spark_connect.yaml
378376
- plainYaml: stacks/jupyterhub-pyspark-hdfs/zookeeper.yaml
379377
- plainYaml: stacks/jupyterhub-pyspark-hdfs/hdfs.yaml
378+
- plainYaml: stacks/jupyterhub-pyspark-hdfs/jupyterlab.yaml
379+
- plainYaml: stacks/jupyterhub-pyspark-hdfs/spark_connect.yaml
380380
supportedNamespaces: []
381381
resourceRequests:
382382
cpu: 3350m
383383
memory: 7174Mi
384384
pvc: 110Gi
385385
parameters:
386-
- name: jupyterHubAdminPassword
387-
description: Password of the JupyterHub admin user
386+
- name: jupyterLabToken
387+
description: Token for JupyterLab UI access
388388
default: adminadmin
389389
dual-hive-hdfs-s3:
390390
description: Dual stack Hive on HDFS and S3 for Hadoop/Hive to Trino migration

0 commit comments

Comments
 (0)