-
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
TaskRun stays Running when pod goes to ImagePullBackOff
#4895
Comments
Pending
when pod goes to ImagePullBackOff
ImagePullBackOff
Duplicate of #4890 |
I'm not sure this is a duplicate of #4890, since that one deals with In the latter case, I think we've discussed this before, and decided to follow K8s' behavior where it continues to try to pull the image with backoff, until the image exists and is pullable. This can be useful if you accidentally forget to push the image you're trying to run, or don't have auth set up correctly yet. In K8s's case it will happily sit back and pull forever since there's no concept of a Pod timeout. In Tekton it might make sense to outright fail fast rather than give users an opportunity to fix it. I suspect this would only work at all today when the image specifies |
I'm also suffering from this same issue. There are errors on the pod level such as |
/assign |
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.
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.
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.
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.
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.
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.
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.
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 #4895.
Should I open a different issue to discuss the |
@RafaeLeal yes please! |
Closing since the ImagePullBackoff case is now handled |
Expected Behavior
If the Pod is in
ImagePullBackOff
state, the TaskRun should fail.Actual Behavior
The
TaskRun
's remains "Running" with the messagePending
until it eventually times outSteps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: