Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-3785

[TEMPLATE] Upgrade Log Collection Dependencies

    XMLWordPrintable

Details

    • False
    • None
    • False
    • NEW
    • NEW

    Description

       

      On every release we need to take care to stay compatible on available Golang Builder and Kubernetes/OpenShift Go Modules. This card is dedicated to the hygiene tasks being executed once per release. Upgrades to consider:

      Golang Upgrades Go Modules Upgrades SDK upgrades
      • cluster-logging-operator
      • eventrouter
      • log-file-metrics-exporter
      • k8s.io/api
      • k8s.io/api-machinery
      • k8s.io/client-go
      • k8s.io/utils
      • openshift/api
      • openshift/client-go
      • sigs.k8s.io/controller-runtime
      • operator-sdk
         

      The table above provides a matching of the required repositories to upgrade separately (See sub-tasks). Instructions to consider:

      1. For Golang upgrades, the selected Golang version is the one used to build and release the kubernetes version used in the next OpenShift release (e.g. go1.20 used for k8s 1.26 and OpenShift 4.13)
      2. For Go Modules upgrades:
        1. The client-go, api-machinery, apiserver modules should match the same k8s dependency used in the next OpenShift release (e.g. k8s 1.26 used for OpenShift 4.13)
        2. The openshift/api module should match the next OpenShift release branch (e.g. release-4.13)
        3. The controller-runtime module should match the operator-sdk recommendation. (See operator-sdk upgrade docs)
      3. For SDK upgrades:
        1. The Operator-SDK mandates a comprehensive upgrade documentation

      Developer Notes

      1. Link all Pull and Merge requests for accomplishing the upgrades in this single task and NOT on the subtasks.
      2. Consider that changing golang builders require changes on upstream repositories, the OpenShift release repository and midstream repositories

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcantril@redhat.com Jeffrey Cantrill
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: