Skip to content
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

What about using natively Tekton Dashboard for Jx3 #49

Open
JordanGoasdoue opened this issue Mar 22, 2023 · 2 comments
Open

What about using natively Tekton Dashboard for Jx3 #49

JordanGoasdoue opened this issue Mar 22, 2023 · 2 comments

Comments

@JordanGoasdoue
Copy link
Contributor

JordanGoasdoue commented Mar 22, 2023

Hello everyone,

After explaining it during the last Toc, i'm writting this enhancements:
In order to have less to maintain in the jx3 ecosystem, step by step,
what about firstly using natively the Tekton Dashboard instead of jx-ui ?

We did it and we are happy of this dashboard, here is a screenshot

Screenshot from 2023-03-22 17-40-36

Of course, we needed to configure lighthouse to automatically point to the tekton dashboard instead of the jx-one, don't worry it's possible.

When we changed our UI dashboard to the Tekton one, we obviously had to redo the Logs persistency part, back then following this old walkthrough, doing our own internal code for this => https://github.com/tektoncd/dashboard/blob/main/docs/walkthrough/walkthrough-logs.md

The great news is that tekton has finally implemented their own TEP-0117: Tekton Results Logs (tektoncd/community#994)

Tekton Results aims to help users logically group CI/CD workload history and separate out long term result storage away from the Pipeline controller.

Tekton Results is composed of 2 main components:
A queryable gRPC API server backed by persistent storage (see proto/v1alpha2 for the latest API spec).
A controller to watch and report TaskRun and PipelineRun updates to the API server.

Thanks to this PR => tektoncd/results#301 allowing to support log persistence outside of the host Kubernetes cluster. With this feature results will be able to store PipelineRun and TaskRun logs in the following persistent locations:

  • File (PVC)
  • S3 (S3 compatible storage)

In order to persist the Logs with this Tekton Result, these are the needed dependencies:

Kubernetes version: 1.22.x
Tekton Pipeline version: 0.42.0

We would need to plug differently lighthouse because through tekton dashboard we don't handle pipelineactivity that is specific of jx3

What do you think ? @msvticket @ankitm123 @tomhobson @babadofar @rajatgupta24

@msvticket
Copy link
Member

Can you make a rough outline of what changes need to be done in which Jenkins X repositories?

I don't think we should stop supporting Kubernetes 1.21 just yet, but we can first make Tekton Dashboard an optional alternative to jx-pipelines-visualizer. When we feel ready to make Tekton Dashboard the default I suspect it's time to stop supporting k8s 1.21 as well.

@msvticket
Copy link
Member

An enhancement is supposed to be a document in this repo. The idea is that you create a pull request for the creation of the the enhancement proposal markdown document. But, oh, well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants