|
40 | 40 | "cluster = dask_gateway.GatewayCluster()\n", |
41 | 41 | "client = cluster.get_client()\n", |
42 | 42 | "cluster.scale(4)\n", |
43 | | - "print(cluster)" |
| 43 | + "print(cluster.dashboard_link)" |
44 | 44 | ] |
45 | 45 | }, |
46 | 46 | { |
|
52 | 52 | "\n", |
53 | 53 | "### Open the dashboard\n", |
54 | 54 | "\n", |
55 | | - "The [Dask Dashboard](https://docs.dask.org/en/latest/diagnostics-distributed.html) provides invaluable information on the activity of your cluster. Clicking the \"Dashboard\" link at the bottom of the cluster repr will open a new browser tab.\n", |
| 55 | + "The [Dask Dashboard](https://docs.dask.org/en/latest/diagnostics-distributed.html) provides invaluable information on the activity of your cluster. Clicking the \"Dashboard\" link above will open the Dask dashboard a new browser tab.\n", |
56 | 56 | "\n", |
57 | 57 | "<img src=\"images/dashboard-tab.png\" width=\"50%\" alt=\"Dask Dashboard in a new tab.\"/>\n", |
58 | 58 | "\n", |
59 | 59 | "We also include the [dask-labextension](https://github.com/dask/dask-labextension) for laying out the Dask dashboard as tabs in the Jupyterlab workspace.\n", |
60 | 60 | "\n", |
61 | 61 | "<img src=\"images/dashboard-hub.png\" width=\"50%\" alt=\"Dask Dashboard in jupyterlab.\"/>\n", |
62 | 62 | "\n", |
63 | | - "To using the dask-labextension, copy the \"Dashboard\" address from the cluster repr, click the orange Dask logo on the lefthand navigation bar, and paste the dashboard address " |
64 | | - ] |
65 | | - }, |
66 | | - { |
67 | | - "cell_type": "markdown", |
68 | | - "id": "supreme-demographic", |
69 | | - "metadata": {}, |
70 | | - "source": [ |
| 63 | + "To using the dask-labextension, copy the \"Dashboard\" address from the cluster repr, click the orange Dask logo on the lefthand navigation bar, and paste the dashboard address \n", |
| 64 | + "\n", |
71 | 65 | "You can close your cluster, freeing up its resources, by calling `cluster.close()`." |
72 | 66 | ] |
73 | 67 | }, |
|
1519 | 1513 | ], |
1520 | 1514 | "metadata": { |
1521 | 1515 | "kernelspec": { |
1522 | | - "display_name": "Python 3", |
| 1516 | + "display_name": "Python 3 (ipykernel)", |
1523 | 1517 | "language": "python", |
1524 | 1518 | "name": "python3" |
1525 | 1519 | }, |
|
1533 | 1527 | "name": "python", |
1534 | 1528 | "nbconvert_exporter": "python", |
1535 | 1529 | "pygments_lexer": "ipython3", |
1536 | | - "version": "3.8.8" |
| 1530 | + "version": "3.8.10" |
1537 | 1531 | }, |
1538 | 1532 | "widgets": { |
1539 | 1533 | "application/vnd.jupyter.widget-state+json": { |
|
0 commit comments