Skip to content

Commit

Permalink
Update README.md (#412)
Browse files Browse the repository at this point in the history
* Update README.md

Remove use of --address 0.0.0.0 and extraneous port comments.
  • Loading branch information
bjornsen committed Mar 21, 2024
1 parent 4131ea6 commit b8b72a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ray-on-gke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To submit a Ray job, first establish a connection to the Ray head. For this exam
to connect to the Ray head via localhost.

```bash
$ kubectl port-forward --address 0.0.0.0 service/example-cluster-kuberay-head-svc 8265:8265 &
$ kubectl -n ml port-forward service/example-cluster-kuberay-head-svc 8265 &
```

Submit a Ray job that prints resources available in your Ray cluster:
Expand Down Expand Up @@ -79,7 +79,7 @@ To use the client, first establish a connection to the Ray head. For this exampl
to connect to the Ray head Service via localhost.
```bash
$ kubectl port-forward --address 0.0.0.0 service/example-cluster-kuberay-head-svc 10001:10001 &
$ kubectl -n ml port-forward service/example-cluster-kuberay-head-svc 10001 &
```
Next, define a Python script containing remote code you want to run on your Ray cluster. Similar to the previous example,
Expand Down

0 comments on commit b8b72a9

Please sign in to comment.