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

Operator Pod runs into OOM out of the box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.9.0
    • 1.4.1
    • Operator
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      = Out-Of-Memory errors in the {product} Operator

      To resolve Out-Of-Memory errors in the {product} Operator, adjust memory settings manually:

      . Edit the deployment:
      +
      ----
      kubectl edit deployment rhdh-operator -n <namespace>
      ----

      . In the editor, set the memory request to 1 GiB and the limit to 2 GiB:
      +
      [source,yaml]
      ----
      spec:
        containers:
        - name: rhdh-operator
          resources:
            requests:
              memory: "1G"
            limits:
              memory: "2G"
      ----

      . Reapply this change whenever the Operator is actively reconciled. The pod should become healthy, using about 1.07 GiB of memory.
      Show
      = Out-Of-Memory errors in the {product} Operator To resolve Out-Of-Memory errors in the {product} Operator, adjust memory settings manually: . Edit the deployment: + ---- kubectl edit deployment rhdh-operator -n <namespace> ---- . In the editor, set the memory request to 1 GiB and the limit to 2 GiB: + [source,yaml] ---- spec:   containers:   - name: rhdh-operator     resources:       requests:         memory: "1G"       limits:         memory: "2G" ---- . Reapply this change whenever the Operator is actively reconciled. The pod should become healthy, using about 1.07 GiB of memory.
    • Known Issue
    • In Progress
    • RHDH Install 3270, RHDH Install 3271, RHDH Install 3272, RHDH Install 3273, RHDH Install 3274, RHDH Install 3275, RHDH Install 3281
    • 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)
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: