[BUG] Interruptible ignored when directly running tasks #6167
Labels
backlogged
For internal use. Reserved for contributor team workflow.
bug
Something isn't working
flytekit
FlyteKit Python related issue
Describe the bug
Register the file below.
Then if I run
A pod is created which correctly includes the
interruptible=true
label, as well as the Spot node selector I configured. However, if I directly run the task withThen the task is wrongly create with the
interruptible=false
label, and without the Spot node selector.Note that also when directly executing the task, the task metadata indicate interruptible, even though the pod is not created as such:
Expected behavior
I expect both execution to be interruptible, but only the workflow execution creates an interruptible Pod, not the task execution.
Additional context to reproduce
Flyte core version 1.13.3
Flytekit version 1.14.3
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: