https://flyte.org logo
#ask-the-community
Title
# ask-the-community
r

Rupsha Chaudhuri

02/02/2023, 6:54 AM
Hi team.. I’m seeing my map tasks get evicted from k8s even with the
interruptible=False
flag.. which ends up dragging the task on much longer than it should (since it retries). Is there something different for map tasks?
k

Ketan (kumare3)

02/02/2023, 3:09 PM
What do you mean by evictee
If so I think ensure you inject finalized
d

Dan Rammer (hamersaw)

02/02/2023, 5:00 PM
@Rupsha Chaudhuri injecting finalizers is done using this configuration option in the k8s plugin configuration. This is the best Flyte can do to stop k8s from evicting Pods.
r

Rupsha Chaudhuri

02/02/2023, 6:04 PM
Thanks.. let me try this
Looks like it’s already set
k

Ketan (kumare3)

02/03/2023, 2:44 AM
Then I don’t understand. Did someone delete it?
r

Rupsha Chaudhuri

02/03/2023, 2:49 AM
No.. not sure why they kept disappearing.. same job did better today without any configuration changes
.
k

Ketan (kumare3)

02/03/2023, 2:56 AM
It is weird
So what is happening is that the pod is vanishing before Flyte can see it
r

Rupsha Chaudhuri

02/03/2023, 2:59 AM
So the task finished and the pod disappeared and flyte didn't see it?
k

Ketan (kumare3)

02/03/2023, 3:00 AM
That is not the case, if we inject finalized, we should always see it
r

Rupsha Chaudhuri

02/03/2023, 3:00 AM
We do have that in our configuration already
Let me keep an eye out to see if it happens again
5 Views