From b8b72a9ded1d2e0b3cf587a9b393b2a9eca2296f Mon Sep 17 00:00:00 2001 From: bjornsen Date: Wed, 20 Mar 2024 20:29:26 -0700 Subject: [PATCH] Update README.md (#412) * Update README.md Remove use of --address 0.0.0.0 and extraneous port comments. --- ray-on-gke/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ray-on-gke/README.md b/ray-on-gke/README.md index a29b2be43..2af6a6e4f 100644 --- a/ray-on-gke/README.md +++ b/ray-on-gke/README.md @@ -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: @@ -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,