Skip to content

docs(uchicago): add Dask Gateway page - #153

Merged
kratsg merged 1 commit into
mainfrom
docs/dask-gateway
Nov 10, 2026
Merged

kratsg merged 1 commit into
mainfrom
docs/dask-gateway

Conversation

@fengpinghu

Copy link
Copy Markdown
Contributor

Adds a user page for the UChicago AF Dask Gateway: docs/uchicago/dask_gateway.md, under Software & Tools → Dask Gateway, linked from the BinderHub page.

It covers:

  • BinderHub notebooks (AB-STABLE / AB-DEV): the Dask sidebar and Gateway() in code. These images ship the client and the gateway settings. ml_platform doesn't include dask-gateway.
  • AF login nodes: a JupyterHub API token, a venv pinned to the worker image's versions, and the address / proxy_address / public_address settings.
  • Cluster options and limits:
    • cores 1–4 and memory 1–8 GiB per worker;
    • a 1 h idle and 24 h max cluster lifetime;
    • workers are short-queue batch jobs, so each one is held after 4 h.
  • Matching image to the client environment, plus managing clusters and troubleshooting.

Checked:

  • On login01, the venv steps install on the system Python 3.9: dask-gateway==2024.1.0, dask/distributed 2024.3.1, the same versions as analysis-dask-base:main.
  • A bad token returns 401 and a missing token raises the documented ValueError.
  • The login-node settings are the ones Giordon confirmed work.
  • The Python blocks pass black, the pages pass prettier and codespell.

Not tested end to end: a token created with only the read:users:name!user permission. Dask Gateway checks tokens through the hub's /authorizations/token API with its own service token, so the user token's scopes shouldn't matter, but it would be good if someone tries it once.

🤖 Generated with Claude Code

@fengpinghu
fengpinghu requested review from a team as code owners November 10, 2026 19:08
Document how to start Dask clusters on the UChicago AF Dask Gateway from
BinderHub notebooks (AB-STABLE/AB-DEV, sidebar or code) and from the AF
login nodes with a JupyterHub API token. Covers cluster options, the
automatic limits, matching the worker image to the client environment,
managing clusters, and troubleshooting. Link it from the BinderHub page
and add it to the nav under Software & Tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kratsg
kratsg merged commit 157c35a into main Nov 10, 2026
4 checks passed
@kratsg
kratsg deleted the docs/dask-gateway branch November 10, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants