Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-55795

Samples Operator should only watch required ClusterOperators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.17.z
    • 4.19
    • Samples Operator
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      Previously, the Cluster Samples Operator watched all cluster Operators in the cluster, which triggered the Cluster Samples Operator sync loop to run unnecessarily. This behavior negatively impacted overall performance. With this release, the Cluster Samples Operator only watches specific cluster Operators. (link:https://issues.redhat.com/browse/OCPBUGS-55795[OCPBUGS-55795])
      Show
      Previously, the Cluster Samples Operator watched all cluster Operators in the cluster, which triggered the Cluster Samples Operator sync loop to run unnecessarily. This behavior negatively impacted overall performance. With this release, the Cluster Samples Operator only watches specific cluster Operators. (link: https://issues.redhat.com/browse/OCPBUGS-55795 [ OCPBUGS-55795 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-55781. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-54589. The following is the description of the original issue:

      The samples operator establishes a watch on ALL ClusterOperators in the cluster, any change to any of them will cause it's syncloop to run.

      This code should be modified to only watch specific operators.

      https://github.com/openshift/cluster-samples-operator/blob/6296f3484e6c1284bf9e38297cba31f834686cdc/pkg/operator/controller.go#L155

              aroyo@redhat.com Antonio Carlos Royo
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Shannon Poole Shannon Poole
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: