-
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
Some *useful* Pod status do not bubble up in TaskRun status #4802
Comments
Hi, I am interested in this issue. May I take this one? If I need any help I will mention it here. Thank you! |
/assign yuzp1996 |
Hi, I check the code and find maybe we can do some improvement here. I think this is not a bug fix but a new feature. Maybe I need to provide a TEP to describe the goal that we want to achieve and the code change that I need to make. I will be very happy if you can give me some advice. @vdemeester Thanks! |
So Yeah this is probably a new feature, but I don't think it needs a TEP, just a proper pull request explaining the new errors we handle should be fine. |
OK, thanks! I will do it this week. |
fix/feature: tektoncd#4802
This is all the image related error I found in the k8s kubelet code base. I will try to bubble up all these errors in TaskRun status. |
When pod is pending because of failure of pulling image the users can not get the clear reason or message from the taskrun status. Now I will check the pod status and judge if the error is caused by image if so the error reason and message will bubble up to taskrun status. Then user can know what happend though the taskrun status. Related issue: tektoncd#4802 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
When pod is pending because of failure of pulling image the users can not get the clear reason or message from the taskrun status. Now I will check the pod status and judge if the error is caused by image if so the error reason and message will bubble up to taskrun status. Then user can know what happend though the taskrun status. Related issue: tektoncd#4802 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
When pod is pending because of failure of pulling image the users can not get the clear reason or message from the taskrun status. Now I will check the pod status and judge if the error is caused by image if so the error reason and message will bubble up to taskrun status. Then user can know what happend though the taskrun status. Related issue: tektoncd#4802 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
When pod is pending because of failure of pulling image the users can not get the clear reason or message from the taskrun status. Now I will check the pod status and judge if the error is caused by image if so the error reason and message will bubble up to taskrun status. Then user can know what happend though the taskrun status. Related issue: tektoncd#4802 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
When pod is pending because of failure of pulling image the users can not get the clear reason or message from the taskrun status. Now I will check the pod status and judge if the error is caused by image if so the error reason and message will bubble up to taskrun status. Then user can know what happend though the taskrun status. Related issue: #4802 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
Sligtly related to #4801, when a
Pod
doesn't fail but is in a "long-term" un-reconciliable state, such asInvalidImageName
, theTaskRun
controller ignore those and wait forever (aka timeout).This happens because it a fixable error from the
Pod
standpoint (you can mutate theimage
of a container in aPod
), and thus doesn't seem to be considered as a "terminal" error.The
TaskRun
controller should pickup these kind of error (at leastInvalidImageName
, but most likely there might be a few other status that make sense) and fail with a clear message/reason based on it.The text was updated successfully, but these errors were encountered: