Skip to content

Commit

Permalink
Remove extranous arguments from examples (ray-project#2051)
Browse files Browse the repository at this point in the history
* Update Helm chart examples

To remove an extraneous and possibly confusing argument

Signed-off-by: Thomas Desrosiers <[email protected]>

* Update another location

* Update helm-chart/ray-cluster/README.md

Co-authored-by: Kai-Hsun Chen <[email protected]>
Signed-off-by: Thomas Desrosiers <[email protected]>

---------

Signed-off-by: Thomas Desrosiers <[email protected]>
Co-authored-by: Kai-Hsun Chen <[email protected]>
  • Loading branch information
thomasdesr and kevin85421 authored Mar 29, 2024
1 parent bbb65b4 commit c3b17f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/development/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ To preview the KubeRay documentation locally, follow these steps:
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
```

- Open your web browser and navigate to <http://0.0.0.0:8000/kuberay/> to view the documentation.
- Open your web browser and navigate to <http://127.0.0.1:8000/kuberay/> to view the documentation.

If you make any changes to the documentation files, the local preview will automatically update to reflect those changes.
6 changes: 3 additions & 3 deletions helm-chart/ray-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ kubectl get pods
# raycluster-kuberay-worker-workergroup-2jckt 1/1 Running 0 66s

# Step 6: Forward the port of Dashboard
kubectl port-forward --address 0.0.0.0 svc/raycluster-kuberay-head-svc 8265:8265
kubectl port-forward svc/raycluster-kuberay-head-svc 8265:8265

# Step 7: Check ${YOUR_IP}:8265 for the Dashboard (e.g. 127.0.0.1:8265)
# Step 7: Check 127.0.0.1:8265 for the Dashboard

# Step 8: Log in to Ray head Pod and execute a job.
kubectl exec -it ${RAYCLUSTER_HEAD_POD} -- bash
python -c "import ray; ray.init(); print(ray.cluster_resources())" # (in Ray head Pod)

# Step 9: Check ${YOUR_IP}:8265/#/job. The status of the job should be "SUCCEEDED".
# Step 9: Check 127.0.0.1:8265/#/job. The status of the job should be "SUCCEEDED".

# Step 10: Uninstall RayCluster
helm uninstall raycluster
Expand Down

0 comments on commit c3b17f3

Please sign in to comment.