From 5d882b062d3d7ae75475615d4147269a99b2db9c Mon Sep 17 00:00:00 2001 From: Edward Oakes Date: Tue, 26 Jan 2021 12:09:13 -0600 Subject: [PATCH] [Serve] fix k8s doc (#13713) --- doc/source/serve/deployment.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/serve/deployment.rst b/doc/source/serve/deployment.rst index 5ab65a7a3..1ab190595 100644 --- a/doc/source/serve/deployment.rst +++ b/doc/source/serve/deployment.rst @@ -225,7 +225,7 @@ With the cluster now running, we can run a simple script to start Ray Serve and # Connect to the running Ray cluster. ray.init(address="auto") # Bind on 0.0.0.0 to expose the HTTP server on external IPs. - client = serve.start(http_options={"host": "0.0.0.0"}) + client = serve.start(detached=True, http_options={"host": "0.0.0.0"}) def hello(): return "hello world"