nice-doctor-54581
09/06/2022, 12:03 AMtall-lock-23197
great-school-54368
09/06/2022, 8:48 AMopta apply
?great-school-54368
09/06/2022, 8:49 AMnice-doctor-54581
09/06/2022, 10:09 AMnice-doctor-54581
09/06/2022, 10:24 AMgreat-school-54368
09/06/2022, 11:03 AMnice-doctor-54581
09/06/2022, 11:04 AMnice-doctor-54581
09/06/2022, 11:11 AMtall-lock-23197
from flytekit import Resources, task
@task(requests=Resources(cpu="2", mem="1000Mi"))
def fetch_domain_list_df(...):
...
nice-doctor-54581
09/06/2022, 11:34 AMnice-doctor-54581
09/06/2022, 11:38 AMtall-lock-23197
nice-doctor-54581
09/06/2022, 12:46 PMnice-doctor-54581
09/06/2022, 12:47 PMnice-doctor-54581
09/07/2022, 12:29 AMtall-lock-23197
nice-doctor-54581
09/07/2022, 9:33 AMnice-doctor-54581
09/07/2022, 11:17 AMnice-doctor-54581
09/07/2022, 11:40 AMtall-lock-23197
hallowed-mouse-14616
09/07/2022, 2:01 PMinject-finalizer
configuration option which uses k8s finalizers to stop external systems from deleting the Pods, but some external systems do not respect this scheme and delete anyway. So this is a "best effort" by Flyte to keep Pods around, if they are still being deleted then unforunately there is not much we can do to stop it. A few ideas here are to look at the k8s logs to determine what is deleting the pods, additionally you can reduce the concurrency configuration on the map task so fewer Pods are spawned (typically these are deleted by some sort of resource manager).
(3) The issue above (2788) has a submitted fix - but it resulted in a panic on externally deleted pods during interruptible failures. Are you designating the task as "interruptible"?nice-doctor-54581
09/07/2022, 3:29 PMhallowed-mouse-14616
09/07/2022, 4:23 PMnice-doctor-54581
09/07/2022, 4:32 PMtall-lock-23197
nice-doctor-54581
09/08/2022, 9:31 AMnice-doctor-54581
09/08/2022, 9:51 AMtall-lock-23197
k8s:
inject-finalizer: true
...