Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that timeout set on a Script task is propagated to a timeout of a Cloud container (AWS/Azure/Google Batch Script Runners) #3461

Closed
anna-geller opened this issue Apr 3, 2024 · 0 comments · Fixed by #3570
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@anna-geller
Copy link
Member

Feature description

When a user sets a timeout, we should ensure that the configured timeout will be roughly respected.

We say roughly because there can be some significant latency for starting a container (on Fargate, even in a range of minutes), so ideally the timeout should start once the container starts. However, the main use case is matching kestra timeout with Cloud container service timeout (even if not 100% accurate) to avoid unexpected costs caused by not respecting timeout and having a zombie container running for weeks.

id: timeout
namespace: dev

tasks:
  - id: failed
    type: io.kestra.plugin.scripts.shell.Commands
    scriptRunner: ...
    timeout: PT2H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants