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

Several items on OCP docs about OpenJDK are outdated/wrong

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Important
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      Several items on [1] about JDK are outdated and will lead to the wrong understanding of JDK on OCP.
      I would suggest re-writing the Understanding OpenJDK settings for OpenShift Container Platform section.  [1] https://docs.openshift.com/container-platform/4.12/nodes/clusters/nodes-cluster-resource-configure.html#nodes-cluster-resource-configure-jdk-heap_nodes-cluster-resource-configure
      
      Should mention -XX:MaxRamPercentage instead.
      Also -XX:+UseCGroupMemoryLimitForHeap is no longer anything needed to be set.
      Also mentions UseContainerSupport outdated since 8u191. 
      
      The solution https://access.redhat.com/solutions/4564491 explains several of those details, including the container awareness.
      And https://access.redhat.com/solutions/4886081 as well
      
      Given the JVM is container aware, directly override one of -XX:MaxRAM, -XX:MaxHeapSize or -Xmx, is not recommended.

      Version-Release number of selected component (if applicable):

      4.12 Documentation

      How reproducible:

      Documentation

      Steps to Reproduce:

      1. Read the OCP node docs, they are outdated
      

      Actual results:

      https://access.redhat.com/solutions/4564491
      https://access.redhat.com/solutions/4886081  

      Expected results:

       

      Additional info:

      https://access.redhat.com/solutions/4564491

              abrennan@redhat.com Ashleigh Brennan
              fdemeloj1@redhat.com Francisco De Melo Junior
              None
              None
              Francisco De Melo Junior Francisco De Melo Junior
              None
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: