From cd843a9fb917b8d797f0edd1f36eaa2ec5a162d8 Mon Sep 17 00:00:00 2001 From: dmatch01 Date: Mon, 21 Jun 2021 08:33:14 -0500 Subject: [PATCH] Update starting.md Add minor syntax updates of deploying on openshift. --- docs/source/getting_started/starting.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/getting_started/starting.md b/docs/source/getting_started/starting.md index 87cf158..a79a1ab 100644 --- a/docs/source/getting_started/starting.md +++ b/docs/source/getting_started/starting.md @@ -170,9 +170,11 @@ pip3 install -r requirements.txt $ ``` - b) Bring up Ray cluster + b) Clone Ray Project and Bring up Ray cluster ``` + $ git clone https://github.com/ray-project/ray.git + $ $ ray up ray/python/ray/autoscaler/kubernetes/example-full.yaml Cluster: default @@ -262,7 +264,7 @@ pip3 install -r requirements.txt b) Run example test ``` - ray submit python/ray/autoscaler/kubernetes/example-full.yaml x.py + ray submit ray/python/ray/autoscaler/kubernetes/example-full.yaml x.py Loaded cached provider configuration If you experience issues with the cloud provider, try re-running the command with --no-config-cache. 2021-02-09 08:50:51,028 INFO command_runner.py:171 -- NodeUpdater: ray-head-ql46b: Running kubectl -n ray exec -it ray-head-ql46b -- bash --login -c -i 'true && source ~/.bashrc && export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && (python ~/x.py)' @@ -276,4 +278,4 @@ Jupyter setup demo [Reference repository](https://github.com/erikerlandson/ray-o ### Running examples -Once in a Jupyer envrionment, refer to [notebooks](../../notebooks) for example pipeline. Documentation for reference use cases can be found in [Examples](https://codeflare.readthedocs.io/en/latest/). \ No newline at end of file +Once in a Jupyer envrionment, refer to [notebooks](../../notebooks) for example pipeline. Documentation for reference use cases can be found in [Examples](https://codeflare.readthedocs.io/en/latest/).