mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Add 'ray dashboard' command (#6959)
This commit is contained in:
@@ -211,6 +211,8 @@ Port-forwarding applications
|
||||
|
||||
If you want to run applications on the cluster that are accessible from a web browser (e.g., Jupyter notebook), you can use the ``--port-forward`` option for ``ray exec``. The local port opened is the same as the remote port.
|
||||
|
||||
Note: For Kubernetes clusters, the ``port-forward`` option cannot be used while executing a command. To port forward and run a command you need to call ``ray exec`` twice separately.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ray exec cluster.yaml --port-forward=8899 'source ~/anaconda3/bin/activate tensorflow_p36 && jupyter notebook --port=8899'
|
||||
@@ -240,6 +242,8 @@ The default idle timeout is 5 minutes. This is to prevent excessive node churn w
|
||||
Monitoring cluster status
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The ray also comes with an online dashboard. The dashboard is accessible via HTTP on the head node (by default it listens on ``localhost:8265``). To access it locally, you'll need to forward the port to your local machine. You can also use the built-in ``ray dashboard`` to do this automatically.
|
||||
|
||||
You can monitor cluster usage and auto-scaling status by tailing the autoscaling
|
||||
logs in ``/tmp/ray/session_*/logs/monitor*``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user