Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-7941

Rhods-prometheus-operator memory request in millibytes insted of Mebibyte

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • RHODS_1.25.0_GA
    • None
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None
    • Medium

      Description of problem:

      As seen in RHODS-7769, rhods-prometheus-operator requests 600m of memory. I believe this should be 600MiB instead, according to the kubernetes docs

      Pay attention to the case of the suffixes. If you request 400m of memory, this is a request for 0.4 bytes. Someone who types that probably meant to ask for 400 mebibytes (400Mi) or 400 megabytes (400M).

       

       

      Having a low memory request could make the pod to be evicted if the cluster has low resources

       

      Steps to Reproduce

      1. Install RHODS 1.25 RC Build
      2. Check memory requests for rhods-prometheus-operator

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHODS 1.25 RC Build (April4, 470473)

            Unassigned Unassigned
            rhn-support-jgarciao Jorge Garcia Oncins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: