-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
The default TaskRun timeout is too short. #979
Comments
@abayer I feel there is two things we could do :
|
@vdemeester The latter would be fantastic. |
Starting in Tekton Pipelines v0.4.0, the default timeout for `TaskRun`s of 10 minutes when no timeout is specified is actually enforced. The only way to specify a timeout for a `TaskRun` is by setting a timeout on the `PipelineRun`, so until tektoncd/pipeline#978 and/or tektoncd/pipeline#979 are addressed, we should just set a ridiculously high timeout on all `PipelineRun`s. Signed-off-by: Andrew Bayer <[email protected]>
Starting in Tekton Pipelines v0.4.0, the default timeout for `TaskRun`s of 10 minutes when no timeout is specified is actually enforced. The only way to specify a timeout for a `TaskRun` is by setting a timeout on the `PipelineRun`, so until tektoncd/pipeline#978 and/or tektoncd/pipeline#979 are addressed, we should just set a ridiculously high timeout on all `PipelineRun`s. Signed-off-by: Andrew Bayer <[email protected]>
/assign @houshengbo |
…neRun to 240 hours (#4251) * fix(tekton): Set a default PipelineRun timeout of 10 days Starting in Tekton Pipelines v0.4.0, the default timeout for `TaskRun`s of 10 minutes when no timeout is specified is actually enforced. The only way to specify a timeout for a `TaskRun` is by setting a timeout on the `PipelineRun`, so until tektoncd/pipeline#978 and/or tektoncd/pipeline#979 are addressed, we should just set a ridiculously high timeout on all `PipelineRun`s. Signed-off-by: Andrew Bayer <[email protected]> * fix(tekton): Allow configuring Pipeline timeout Signed-off-by: Andrew Bayer <[email protected]>
@vdemeester @bobcatfish @abayer First, I'd like to increase the internal default timeout to 60 mins. Is that OK so far? How does it sound?? |
Sounds reasonable to me! |
Makes sense! |
OK, I will implement as described. |
…neRun to 240 hours (jenkins-x#4251) * fix(tekton): Set a default PipelineRun timeout of 10 days Starting in Tekton Pipelines v0.4.0, the default timeout for `TaskRun`s of 10 minutes when no timeout is specified is actually enforced. The only way to specify a timeout for a `TaskRun` is by setting a timeout on the `PipelineRun`, so until tektoncd/pipeline#978 and/or tektoncd/pipeline#979 are addressed, we should just set a ridiculously high timeout on all `PipelineRun`s. Signed-off-by: Andrew Bayer <[email protected]> * fix(tekton): Allow configuring Pipeline timeout Signed-off-by: Andrew Bayer <[email protected]>
Expected Behavior
A user shouldn't have their
TaskRun
s killed in 10 minutes if they haven't specified a largerPipelineRun
timeout.Actual Behavior
The
TaskRun
s do get killed.Steps to Reproduce the Problem
Additional Info
We should bump this up to something more reasonable. Also relates to #978.
The text was updated successfully, but these errors were encountered: