Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1512

R&D Extended PipelineRun and log retention

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • Pipelines 1.7
    • None
    • None
    • None
    • R&D Extended PipelineRun and logs retention
    • False
    • False
    • Done
    • Undefined

      Goal

      As a DevOps engineer, I want to have access to the pipelinenruns details and logs for an abitrary extzended period (e.g. 365 days) without having to keep the pipelinerun CRs and taskrun pods on the cluster, so that don't have to burden etcd and storage with a large number of CRs and pods related to old pipelneruns.

      Problem

      PipelineRun logs on OpenShift are stored in the pods and the OpenShift logging stack. While this provides a storage for the logs, there are a number of issues when retrieving these logs:

      • The pipeline CR and taskrun pods should be kept on the cluster in order to be able to access them and see the logs through OpenShift Web Console or Tekton CLI
      • Retrieving logs requires complex Elasticsearch queries that most developers are not familiar with
      • Retrieving the logs of a pipelinerun requires knowing the specific pipelinerun name while user most often knows only the pipeline name.
      • It is non-trivial to find out the list of pipelineruns names for a pipeline and when they were executed

      Related Work

      Acceptance Criteria

      • Pipeline logs and history can are accessible to a user beyond the lifetime of the PipelineRuns CR and taskrun pods, through OpenShift Web Console and Tekton CLI.

              rh-ee-kbaig Khurram Baig
              rh-ee-ssadeghi Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: