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

CBO using k8s API instead of cache to check status of resources

XMLWordPrintable

    • Quality / Stability / Reliability
    • None
    • None
    • 2
    • Low
    • None
    • Unspecified
    • None
    • Rejected
    • None
    • None
    • If docs needed, set a value
    • None
    • None
    • None
    • None
    • None

      All of the resources (Secrets, Deployments, DaemonSets, &c.) that CBO needs to operate on (with one exception - the pull secret which is copied from another namespace so that it can be passed to the CoreOS IPA) are watched and cached in memory for rapid access. However, only the Provisioning CR itself is read from the cache. For all other resources we are not using the cached client but directly hitting the kubernetes API. This adds unnecessary load on the API.

      Except for the pull secret, CBO should be reading all of these resources using the cached client.

              rhn-engineering-dtantsur Dmitry Tantsur
              zabitter Zane Bitter
              None
              None
              Amit Ugol Amit Ugol (Inactive)
              None
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: