Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-2625

Don't use ES limits/request lower than default/recommended

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • Logging 5.1
    • OpenShift 4.7 Async
    • Logging
    • None

      [URL]
      https://github.com/openshift/openshift-docs/blob/enterprise-4.7/modules/cluster-logging-cpu-memory.adoc
      https://github.com/openshift/openshift-docs/blob/enterprise-4.7/logging/config/cluster-logging-tolerations.adoc

      [ISSUE]
      It's a problem set lower memory/cpu limits/request that the recommended/default in the examples since it's so much common to find customers with performance issues and saying: "I have just copied" it from the docs. Then, I'll ask to modify the examples to always uses at least the default values or higher.

      For example, in the example, it's possible to see:

          elasticsearch:
            nodeCount: 2
            resources: (1)
              limits:
                memory: 2Gi
              requests:
                cpu: 200m
                memory: 2Gi
            storage:
              storageClassName: "gp2"
              size: "200G"
            redundancyPolicy: "SingleRedundancy"
      

      And the default values are 16G, like this:

          elasticsearch:
            nodeCount: 2
            resources: (1)
              limits:
                memory: 16Gi   <--- this
              requests:
                cpu: 200m
                memory: 16Gi   <---- this
            storage:
              storageClassName: "gp2"
              size: "200G"
            redundancyPolicy: "SingleRedundancy"
      

              rhn-support-sosarkar Souvik Sarkar (Inactive)
              rhn-support-ocasalsa Oscar Casal Sanchez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: