cold-translator-17075
11/29/2022, 9:38 PMdask
cluster and we would like to ensure that the cluster gets cleaned up in every case that the workflow finishes (successful completion, failure, or user terminates). We are currently using the dask-kubernetes KubeCluster
operator to create the cluster in pre_execute
, then close everything in the post_execute
(pseudo-code). However, post_execute
doesn't get called when a user terminates from the UI, so we are seeing the dask
cluster consistently hang. Thanks for your help!glamorous-carpet-83516
11/29/2022, 10:09 PMcold-translator-17075
11/29/2022, 10:50 PMflyteworkflow
pod so that it gets cleaned up automatically when the flyte pod does) but haven't figured out how to access the uid of the flyteworkflow
from the plugin code.wonderful-afternoon-77766
12/05/2022, 10:04 PMcold-translator-17075
12/05/2022, 10:06 PMglamorous-carpet-83516
12/05/2022, 10:06 PM