-
Notifications
You must be signed in to change notification settings - Fork 76
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
[integrations] Tekton Dashboard #82
Comments
Unfortunately not an idea of how to go forward but want to say that this is really exciting. Due to relying on the Kubernetes APIs the dashboard really struggles when there are lots of resources. Implementing proper pagination is difficult and also filtering possibilities are limited. As a workaround, we try to keep the number of resources low (e.g. using https://github.com/tektoncd/experimental/tree/master/pipeline/cleanup#cleanup-old-taskruns-and-pipelineruns) but ideally we should be able to keep as much history for e.g. all executions of a pipeline as we want and not as technically limited ;) Would be awesome if results is the solution! |
https://github.com/tektoncd/dashboard/blob/master/docs/extensions.md looks like a promising way to hook into the Dashboard. |
@wlynch I'd love to talk more about the desired user experience for viewing / interacting with the Results data. There are plenty of options to explore depending on the desired outcome. At a high level I see 2 main options for the user:
There are some planned changes to the Dashboard's API / data layer that may make integration / customisation easier in future, and some other challenges such as auth that we'll need to address too. |
This seems like the ideal route to me. Results providing the historical record / source of truth for anything that's reached a Completed ( / deleted) state. @wlynch do you think that's fair assessment? Are the dashboard's data layer plans related to the redux removal issue or documented elsewhere? |
Yes that's the first part of it, a major simplification of the data layer (and corresponding reduction in boilerplate) so we can more easily plugin additional / alternative sources while solving some of the performance and caching issues we have today. I need to flesh out the plan a bit more and document it so we can start to make progress. I have my hands full for the next 1 - 2 weeks but will try to get something on paper asap for others to review. |
Yup! The Result API also captures data for unique instances of Runs with the same name (e.g. if you create->delete->create) which would probably also be useful for the dashboard. Modeling the dashboard on the Result API would also let us display related data (e.g. PipelineRun + TaskRuns) in groups. @AlanGreene I added a discussion item for the March 8th Dashboard WG so we can talk about questions/ideas! |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Is this issue still actively being worked on? |
@AlanGreene it's been awhile since we've touched base on this. Any updates on the dashboard side for how to get started experimenting? |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@pietervincken: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can we re-open this issue? We're running Tekton on a larger scale (2k+ pipelineruns, 20k+ taskruns active in the cluster) so we'd be very interested in having the ability to not rely on the Kubernetes API for looking into results of a pipeline. Currently we need to very aggressively clean the runs in order for the dashboard to stay performant. |
/lifecycle frozen This is something we still want to get to, but need help from the dashboard team 🙏 |
Hi, guys, any progress on the integration? Currently it's not possible to view the build status of a project via dashboard like jenkins, and it's also not directly supported through the pipeline metrics(use grafana + prometheus). So I'm wondering if this could be achived by tekton results? |
+1 to the second approach recommended by @AlanGreene - It would be great to leverage results api to make the These features would greatly improve the out of the box experience of Tekton IMO. |
/area roadmap |
/assign |
@AlanGreene @adambkaplan The general idea is: Benifits:
|
@xinnjie I guess watcher does create the PipelineRuns/TaskRuns entries in the database as soon as it's reconciled, irrespective of the status. If that is what you meant. |
I created a basic dashboard based on results using Flutter. |
Yes, it is. It's my mistake here. |
Any progress on enabling the dashboard to fallback to Results API database? @xinnjie did you end up implementing that TEP you were referring to? Thank you! 🙇 |
@xinnjie Is this something you're still planning to work on or do you have some progress update you can share? If you're not planning to work on it that's fine, please unassign yourself so someone else can pick it up. Thanks. |
It seems Xinnjie is not active on GitHub since October. it should be okay to unassign this issue. |
This is really a missing feature in the complete Tekton ecosystem. Would easy up resources on the cluster as well. |
Sorry guys, I'm not available for now. |
Any updates on that? |
@Stringls Can you elaborate on what you're looking to do? If it's just persisting logs and loading those in the Dashboard see https://github.com/tektoncd/dashboard/blob/main/docs/walkthrough/walkthrough-logs.md. It describes a way to achieve this today, using minio for storage as an example, but can be achieved using any storage provider you wish as long as you can provide the required API for the Dashboard to consume. If you're looking to persist the Tekton resources too, and load both those and the logs in the Dashboard from Tekton Results, that is not yet supported. There are a number of blockers on the Results side that need to resolved first before the Dashboard could add this support, including #535 |
@AlanGreene Sure.
As we know, we lose logs when pods of the Setting up We don't really look to persist the Tekton resources, currently. |
Tracking issue for integrating with the Tekton Dashboard.
We'd like to surface Results/Records in the Tekton UI so that users can visualize the logic groupings / extra data Results can store. A really rough version of this can be found here: https://github.com/tektoncd/results/tree/main/tools/simpleui
I am not sure how we can do this in a minimally invasive way. Open to ideas!
The text was updated successfully, but these errors were encountered: