flyteorg/flyte

[Core feature] Add timeout to ContainerTask

Open

#6,351 建立於 2025年3月20日

在 GitHub 查看
 (6 留言) (0 反應) (1 負責人)Python (378 fork)batch import
enhancementgood first issuehelp wanted

倉庫指標

Star
 (3,705 star)
PR 合併指標
 (平均合併 3天 8小時) (30 天內合併 114 個 PR)

描述

Motivation: Why do you think this is important?

For regular python tasks the user can set a timeout by passing timeout in the @task decorator. I think the same should be possible for ContainerTasks.

Goal: What should the final outcome look like, ideally?

e.g. ContainerTask(..., timeout=timedelta(seconds=60) should set a 60 second timeout

Describe alternatives you've considered

I think it could be done via PodTemplates atm but that seems overkill for something like this.

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

貢獻者指南