Better Container termination status when failing TaskRun for Image pull errors #7385
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kind/feature
Categorizes issue or PR as related to a new feature.
From #4921 , we introduced the mechanism for failing the TaskRun when any of the step fails with the image pull error:
ImagePullBackOff
. It also then marks all other steps in the Task as failed with the same reason "TaskRunImagePullFailed". This issue proposes the improvements of the error handling:CanceledPreviousStepImagePullError
&corev1.ContainerStateTerminated
at failTaskRun.We shall also explore the extensibility of step/container to examine how we could distinguish TaskRun reason and Step reason more precisely for a better user debug experience. For example, better clarifications of step failures for image pull errors.
/kind bug
/kind feature
The text was updated successfully, but these errors were encountered: