Sabrina Lui
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!Kevin Su
11/29/2022, 10:09 PMSabrina Lui
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.Tyler Su
12/05/2022, 10:04 PMSabrina Lui
12/05/2022, 10:06 PMKevin Su
12/05/2022, 10:06 PM