# I can't run ray on kubeflow

**URL:** <https://discuss.ray.io/t/i-cant-run-ray-on-kubeflow/21489>\
**Category:** RLlib\
**Created:** [January 15, 2025, 8:52am UTC](https://discuss.ray.io/t/i-cant-run-ray-on-kubeflow/21489 "2025-01-15T08:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mumong\_wang](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mumong_wang/32/7538_2.png) [@mumong\_wang](https://discuss.ray.io/u/mumong_wang)\
**Post date:** [January 15, 2025, 8:52am UTC](https://discuss.ray.io/t/i-cant-run-ray-on-kubeflow/21489/1 "2025-01-15T08:52:49Z")

</div>

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

- Low: It annoys or frustrates me for a moment.

i am running ray on kubeflow,i have follow the instruction of this doc.  
[https://docs.ray.io/en/latest/cluster/kubernetes/k8s-ecosystem/kubeflow.html](https://docs.ray.io/en/latest/cluster/kubernetes/k8s-ecosystem/kubeflow.html)

i follow all the step besides install kubeflow v1.9

here when i run the final code

i get error `ConnectionError: ray client connection timeout`

it seeme like i can’t connect to raycluster which install on my original machine.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/a/af1e3380ab2099eb7d52b731db0169a220758379.png)

---

<div class="post-metadata">

**Author:** ![mumong\_wang](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mumong_wang/32/7538_2.png) [@mumong\_wang](https://discuss.ray.io/u/mumong_wang)\
**Post date:** [January 16, 2025, 1:34am UTC](https://discuss.ray.io/t/i-cant-run-ray-on-kubeflow/21489/2 "2025-01-16T01:34:56Z")

</div>

every thins is fine, i figure out what’s going on. using vpn and set no\_proxy fix my problem.

by the way,using ray in kubeflow, is that i am using my original resources like cpu,memory,gpu but code it in a few notebook? is there any using cases that suit this kind of situation? i think it might be easier that using it just real environment not a container because when i using kubeflow and bulid a notebook it is hard to do `apt install` to install some tools.the only thin i can do is `pip install`
