From 58f81a73fbcf89bb73cf9c8a9be57a12c6e49b6b Mon Sep 17 00:00:00 2001 From: Archit Kulkarni Date: Thu, 31 Aug 2023 12:41:23 -0700 Subject: [PATCH] Update doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md Signed-off-by: Archit Kulkarni --- doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md b/doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md index cd0e1a3812bec..9992d994bfbb6 100644 --- a/doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md +++ b/doc/source/cluster/kubernetes/user-guides/gke-gcs-bucket.md @@ -100,7 +100,11 @@ Use `kubectl get pod` to get the name of the Ray head pod. Then run the followi kubectl exec -it raycluster-mini-head-xxxx -- /bin/bash ``` -In the shell, run `pip install google-cloud-storage` to install the Google Cloud Storage Python client library. Then run the following Python code to test access to the bucket: +In the shell, run `pip install google-cloud-storage` to install the Google Cloud Storage Python client library. + +(For production use cases, you will need to make sure `google-cloud-storage` is installed on every node of your cluster, or use `ray.init(runtime_env={"pip": ["google-cloud-storage"]})` to have the package installed as needed at runtime -- see for more details.) + +Then run the following Python code to test access to the bucket: ```python import ray