# Dask On Ray Cleanup

**URL:** <https://discuss.ray.io/t/dask-on-ray-cleanup/5669>\
**Category:** Ray Data\
**Created:** [April 4, 2022, 9:07am UTC](https://discuss.ray.io/t/dask-on-ray-cleanup/5669 "2022-04-04T09:07:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marek\_Barak](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/marek_barak/32/2078_2.png) [@Marek\_Barak](https://discuss.ray.io/u/Marek_Barak)\
**Post date:** [April 4, 2022, 9:07am UTC](https://discuss.ray.io/t/dask-on-ray-cleanup/5669/1 "2022-04-04T09:07:10Z")

</div>

Hi

At our company we are experimenting with Dask On Ray. We deployed a ray cluster on K8S following the official guide.

In some cases the script that is executing Dask is interupted, but ray tasks are not terminated and they keep running.

The main question is whether there is an option to perform some manual cleanup. I know that ray supports .cancel, .kill however those take object\_ref as an argument, and I have no idea how to get those if we are using Dask.

Cheers Marek
