# Example image for k8s cluster

**URL:** <https://discuss.ray.io/t/example-image-for-k8s-cluster/7720>\
**Category:** Kubernetes\
**Created:** [September 29, 2022, 3:20pm UTC](https://discuss.ray.io/t/example-image-for-k8s-cluster/7720 "2022-09-29T15:20:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulRudin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/paulrudin/32/3235_2.png) [@PaulRudin](https://discuss.ray.io/u/PaulRudin)\
**Post date:** [September 29, 2022, 3:20pm UTC](https://discuss.ray.io/t/example-image-for-k8s-cluster/7720/1 "2022-09-29T15:20:45Z")

</div>

[Anyscale - Handling files and packages on your cluster with Ray runtime environments](https://www.anyscale.com/blog/handling-files-and-packages-on-your-cluster-with-ray-runtime-environments) includes the words:

“You could bake all your files and packages into a container image, …”

I’ve been try to do this, but so far failing. Is there a concrete example of a Dockerfile and k8s config that’ll allow me to create a RayService in this way?

---

<div class="post-metadata">

**Author:** ![PaulRudin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/paulrudin/32/3235_2.png) [@PaulRudin](https://discuss.ray.io/u/PaulRudin)\
**Post date:** [September 30, 2022, 4:58am UTC](https://discuss.ray.io/t/example-image-for-k8s-cluster/7720/2 "2022-09-30T04:58:19Z")

</div>

Never mind, I hadn’t appreciated that it wasn’t necessary to use runtimeEnv in this situation.
