Are Logs from the Pods and Events also stored? #362
-
Hi We plan to implement something similar, where we store PipelineRuns, TasksRuns, Logs and Events from the Taskrun Pod in a KeyValue Store. My question is, do you also store Logs and Events from the TaskRun Pod? Best regards.. Manu |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Logs is a new feature that recently just merged, and we hope to make available in v0.5.0 when it is released. See TEP-0117 for some of the design behind it. Events is not something that we currently store, but I can see this being relevant for capturing the history of a PipelineRun/TaskRun. @dibyom @alan-ghelardi perhaps we open up a feature issue for discussion? |
Beta Was this translation helpful? Give feedback.
-
+1 for opening a feature request to store events. There might be a few challenges to be aware though to deal with events at scale. Recently we ran into some issues due to the insane number of events our CI/CD cluster was generating. In larger clusters, the Watcher may have issues to sync informers upon startup and it may cause a delay to store PipelineRuns and TaskRuns. So, definitely, it's a topic which deserves a deeper discussion in terms of design. |
Beta Was this translation helpful? Give feedback.
-
@manuelwallrapp, we're using Tekton Results at scale at Nubank as well. We're reaching to 1 million of TaskRuns a week and Results has been behaving well with this volume. We use it for storing PipelineRuns, TaskRuns and other resources that make up our CI/CD ecosystem as well as for keeping the number of objects in the cluster under control. The latest code on the main branch (still officially unreleased) has a bunch of fixes to allow that. We're building a custom API on top of Results as well and I've been working to improve the search capabilities of Results mostly to work at scale. So, if you people decide to adopt it, it'd be a pleasure hearing your feedback and collaborating to make the project better. |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion:
|
Beta Was this translation helpful? Give feedback.
Logs is a new feature that recently just merged, and we hope to make available in v0.5.0 when it is released. See TEP-0117 for some of the design behind it.
Events is not something that we currently store, but I can see this being relevant for capturing the history of a PipelineRun/TaskRun. @dibyom @alan-ghelardi perhaps we open up a feature issue for discussion?