Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2471

Operator Pod runs into OOM out of the box (1.9.0)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.9.0
    • 1.4.1, 1.8.0
    • Operator
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Added optional cache-level label filtering to reduce operator memory consumption on clusters with many Secrets and ConfigMaps.
      New `--enable-cache-label-filter` command-line flag limits the operator's cache to only Secrets and ConfigMaps labeled with `rhdh.redhat.com/external-config=true`
      Show
      Added optional cache-level label filtering to reduce operator memory consumption on clusters with many Secrets and ConfigMaps. New `--enable-cache-label-filter` command-line flag limits the operator's cache to only Secrets and ConfigMaps labeled with `rhdh.redhat.com/external-config=true`
    • Enhancement
    • Proposed
    • RHDH Install 3270, RHDH Install 3271, RHDH Install 3272, RHDH Install 3273, RHDH Install 3274, RHDH Install 3275, RHDH Install 3281, RHDH Install 3282, RHDH Install 3283, RHDH Install 3284, RHDH Install 3285
    • Critical

      Description of problem:

      After installing the Operator version 1.4.1 the deployment rhdh-operator becomes briefly healthy before being killed and restarted with an OOM error.

      Prerequisites (if any, like setup, operators/versions):

      The operator manages a single Backstage Instance.

      Steps to Reproduce

      1. Install the Operator version with a single Backstage instance present
      2. Observe that the rhdh-operator deployment requests 128Mi of memory with a 1Gi limit
      3. Observe that the operator becomes healthy for less than 10 seconds before being OOM killed
      4. Manually set the memory request to 1Gi and the limit to 2Gi
      5. Observe that the pod now becomes healthy and that the memory tops out at 1.22 Gi and stabilizes at 1.07 Gi
      6. With the next operator update/reconciliation the memory is reset and the game starts anew

      Actual results:

      see above

      Expected results:

      The operator should have a valid memory configuration out of the box for all common use cases.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              gazarenk-1 Gennady Azarenkov
              aboukhal Marcel Abou Khalil (Inactive)
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: