# Worker\_setup\_commands equivalent on Kubernetes yaml

**URL:** <https://discuss.ray.io/t/worker-setup-commands-equivalent-on-kubernetes-yaml/15084>\
**Category:** Kubernetes\
**Created:** [June 28, 2024, 2:41pm UTC](https://discuss.ray.io/t/worker-setup-commands-equivalent-on-kubernetes-yaml/15084 "2024-06-28T14:41:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehellas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/ehellas/32/6158_2.png) [@ehellas](https://discuss.ray.io/u/ehellas)\
**Post date:** [June 28, 2024, 2:41pm UTC](https://discuss.ray.io/t/worker-setup-commands-equivalent-on-kubernetes-yaml/15084/1 "2024-06-28T14:41:38Z")

</div>

Is there a way of using the same `worker_setup_commands` we have for [ray Cluster](https://docs.ray.io/en/latest/cluster/vms/references/ray-cluster-configuration.html#worker-setup-commands) on a Kubernetes yaml? Apply some modification to the container without having to rebuild it?

I think I could kind replicate using the Kubernetes Command, but then I would have to reapply the entrypoint. What is the recommended way?
