Skip to content

Commit

Permalink
Merge pull request 2i2c-org#1920 from yuvipanda/fix-dask-url
Browse files Browse the repository at this point in the history
Fix dask dashboard URL when using named servers
  • Loading branch information
yuvipanda authored Nov 16, 2022
2 parents e351ddd + 00331de commit 2487297
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions helm-charts/daskhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ basehub:
# variables be copied over to the worker nodes from the user nodes.
DASK_GATEWAY__CLUSTER__OPTIONS__ENVIRONMENT: '{"SCRATCH_BUCKET": "$(SCRATCH_BUCKET)", "PANGEO_SCRATCH": "$(PANGEO_SCRATCH)"}'
# DASK_DISTRIBUTED__DASHBOARD__LINK makes the suggested link to the
# dashboard account for the /user/<username> prefix in the path. Note
# that this still misbehave if you have a named server but now its at
# least functional for non-named servers.
DASK_DISTRIBUTED__DASHBOARD__LINK: "/user/{JUPYTERHUB_USER}/proxy/{port}/status"
# dashboard account for the /user/<username>/<server-name> prefix in the path.
# JUPYTERHUB_SERVICE_PREFIX has leading and trailing slashes as appropriate
DASK_DISTRIBUTED__DASHBOARD__LINK: "{JUPYTERHUB_SERVICE_PREFIX}proxy/{port}/status"

hub:
services:
Expand Down

0 comments on commit 2487297

Please sign in to comment.