-
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
Terminate TaskRun when Pod fails due to ImagePullBackOff. #4921
Terminate TaskRun when Pod fails due to ImagePullBackOff. #4921
Conversation
/assign @dibyom |
/assign @imjasonh |
The following is the coverage report on the affected files.
|
d1bc601
to
fff9b71
Compare
The following is the coverage report on the affected files.
|
fff9b71
to
7c29a4c
Compare
The following is the coverage report on the affected files.
|
/retest |
7c29a4c
to
6fbbcde
Compare
The following is the coverage report on the affected files.
|
Thanks @chitrangpatel This looks good to me. I think we can merge once you address Andrew's comment above! |
6fbbcde
to
acacb88
Compare
Sounds good! Just made the change. |
The following is the coverage report on the affected files.
|
/lgtm |
/retest |
/test pull-tekton-pipeline-alpha-integration-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @chitrangpatel!
Prior to this, if the Pod was in ImagePullBackOff state, the TaskRun would remain `Running` with the message `Pending` until it eventually timed out. This led to lots of delays. The expected behavior should have been to terminate the TaskRun and set it to `fail`. This PR addresses issue tektoncd#4895.
acacb88
to
23329e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abayer, jerop The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The following is the coverage report on the affected files.
|
/lgtm |
/test pull-tekton-pipeline-alpha-integration-tests |
1 similar comment
/test pull-tekton-pipeline-alpha-integration-tests |
/kind bug |
Changes
Prior to this, if the Pod was in ImagePullBackOff state,
the TaskRun would remain
Running
with the messagePending
until it eventually timed out.This led to lots of delays. The expected behavior should have been to
terminate the TaskRun and set it to
fail
. This PR addresses issue#4895.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes