Skip to content

Commit

Permalink
Update dask_config.yaml and
Browse files Browse the repository at this point in the history
private_jupyter_notebook_config.py
  • Loading branch information
ivukotic committed Dec 11, 2023
1 parent 00623c2 commit 3299b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 53 deletions.
3 changes: 2 additions & 1 deletion dask_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ labextension:
distributed:
dashboard:
# link: "https://{host}.dask.af.uchicago.edu/:{port}/status"
link: "{scheme}://{host}:{port}/status"
link: "https://dask.af.uchicago.edu:{port}/{host}/status"
# link: "{scheme}://{host}:{port}/status"
scheduler:
work-stealing: false

Expand Down
52 changes: 0 additions & 52 deletions private_jupyter_notebook_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,3 @@
# Set shell to bash as AnalysisBase assumes it
# force login shell to pickup ~/.bash_profile
c.NotebookApp.terminado_settings = {"shell_command": ["/bin/bash", "-l"]}


def host_allowlist(handler, host):
# handler.log.info("Request to proxy to host " + host)
return True
# return host.startswith("192.170") or host.startswith("2605:9a00:10:200a") or host.startswith("dask-")


# for dask dashboards to be visible
c.ServerProxy.host_allowlist = [
"c001.af.uchicago.edu",
"c002.af.uchicago.edu",
"c003.af.uchicago.edu",
"c004.af.uchicago.edu",
"c005.af.uchicago.edu",
"c006.af.uchicago.edu",
"c007.af.uchicago.edu",
"c008.af.uchicago.edu",
"c009.af.uchicago.edu",
"c010.af.uchicago.edu",
"c011.af.uchicago.edu",
"c012.af.uchicago.edu",
"c013.af.uchicago.edu",
"c014.af.uchicago.edu",
"c015.af.uchicago.edu",
"c016.af.uchicago.edu",
"c017.af.uchicago.edu",
"c018.af.uchicago.edu",
"c019.af.uchicago.edu",
"c020.af.uchicago.edu",
"c021.af.uchicago.edu",
"c022.af.uchicago.edu",
"c023.af.uchicago.edu",
"c024.af.uchicago.edu",
"c025.af.uchicago.edu",
"c026.af.uchicago.edu",
"c027.af.uchicago.edu",
"c028.af.uchicago.edu",
"c029.af.uchicago.edu",
"c030.af.uchicago.edu",
"c031.af.uchicago.edu",
"c032.af.uchicago.edu",
"c033.af.uchicago.edu",
"c034.af.uchicago.edu",
"c035.af.uchicago.edu",
"g002.af.uchicago.edu",
"g003.af.uchicago.edu",
"g004.af.uchicago.edu",
"g005.af.uchicago.edu",
"g006.af.uchicago.edu",
"g007.af.uchicago.edu"
]

0 comments on commit 3299b70

Please sign in to comment.