-
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
Doc: How to read log of the steps #898
Comments
There is several possibilities to do that, but please keep in mind this is still early.
|
@vdemeester I sometimes wonder if we should just bite the bullet and do api aggregation to have a common logs endpoint on TaskRuns. e.g. so we could support I was looking at kubernetes/kubernetes#72637 -- and a generic logs sub-resource we can use via CRD does not seem to be imminent. |
@skaegi yes we may have to go that route at some point 😅 |
We should definitely document one or more of the current solutions! |
As @cmoulliard pointed out, it's not obvious how to get to the logs for a PipelineRun or a TaskRun. If you know how the underlying kubernetes resources work you can figure it out but it can be hard to know where to start. Plus, folks may not realize that we are working on better ways of accessing logs. And once we work on #107 we can build up these docs with more detail about how to upload logs too. Fixes tektoncd#898
As @cmoulliard pointed out, it's not obvious how to get to the logs for a PipelineRun or a TaskRun. If you know how the underlying kubernetes resources work you can figure it out but it can be hard to know where to start. Plus, folks may not realize that we are working on better ways of accessing logs. And once we work on #107 we can build up these docs with more detail about how to upload logs too. Fixes #898
Doc feature - How to read log of the steps
When a
taskRun
orpipelineRun
is executed with several steps, then a container is created for the step defined and the log content could be accessed to check what happened.the doc should explain how to find the containers - steps and how to read the log
Example
Next, check the log of the pod
Get container's log
The text was updated successfully, but these errors were encountered: