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

Upgrade Log Collection go-lang Dependencies

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • NEW
    • NEW
    • Log Collection - Sprint 239, Log Collection - Sprint 240

       

      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.27 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.27 used for OpenShift 4.14)
        2. The openshift/api module should match the next OpenShift release branch (e.g. release-4.14)
        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

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

                Created:
                Updated:
                Resolved: