# Disable dashboard in serve run

**URL:** https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965
**Category:** Ray Serve
**Created:** [June 8, 2023, 6:19am UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965 "2023-06-08T06:19:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yoquan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/yoquan/32/4543_2.png) [@yoquan](https://discuss.ray.io/u/yoquan)
#### Post date: [June 8, 2023, 6:19am UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965/1 "2023-06-08T06:19:41Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Medium: It contributes to significant difficulty to complete my task, but I can work around it.

Dashboard is very useful for our development. But we want to disable it for production to save resources, since our infra already has different tools for monitoring.

We couldn’t find how to specify “include\_dashboard=False” with “serve run” in docs as well as [previous discussion](https://discuss.ray.io/t/disable-dashboard/8471).  
Could you provide some way to do it?

P.S: in near term we’ll likely move to Kuberay, but there’s no docs for it either (currently TODO).

---

<div class="post-metadata">

### Author: ![shrekris](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@shrekris](https://discuss.ray.io/u/shrekris)
#### Post date: [June 8, 2023, 4:57pm UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965/2 "2023-06-08T16:57:06Z")

</div>

You would need to disable the dashboard when you start Ray. `serve run` takes in an optional`--address` argument, so you would first need to start a Ray cluster with `ray start --include-dashboard=false` and then pass the cluster’s address to `serve run`.

You can set `ray start` arguments in KubeRay in the [`rayStartParams`](https://ray-project.github.io/kuberay/guidance/pod-command/#timing-1-before-ray-start) section. That’s where you specify `include-dashboard: 'false'`.

---

<div class="post-metadata">

### Author: ![Jules\_Damji](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/jules_damji/32/4058_2.png) [@Jules\_Damji](https://discuss.ray.io/u/Jules_Damji)
#### Post date: [June 9, 2023, 10:54pm UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965/3 "2023-06-09T22:54:49Z")

</div>

@yoquan Does @shrekris response answer your question? If so, we can close this issue as resolved.

---

<div class="post-metadata">

### Author: ![yoquan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/yoquan/32/4543_2.png) [@yoquan](https://discuss.ray.io/u/yoquan)
#### Post date: [June 10, 2023, 12:07am UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965/4 "2023-06-10T00:07:12Z")

</div>

I was consumed by other task, thus haven’t tested thoroughly yet.  
But @shrekris’s instruction was very clear - thank you! I think it would be fine, so will close this issue.

Have a nice weekend.

---

<div class="post-metadata">

### Author: ![Jules\_Damji](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/jules_damji/32/4058_2.png) [@Jules\_Damji](https://discuss.ray.io/u/Jules_Damji)
#### Post date: [June 10, 2023, 12:22am UTC](https://discuss.ray.io/t/disable-dashboard-in-serve-run/10965/5 "2023-06-10T00:22:16Z")

</div>

Excellent, thanks for the response.
