Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-2589

[OCP4.6]document has the wrong default resource value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • OSSM 2.0.0
    • Documentation
    • False
    • False
    • Undefined

      Here's the copy from https://bugzilla.redhat.com/show_bug.cgi?id=1933218

      Document URL:

      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/service_mesh/index

      Section Number and Name:

      "Table 1.6. Proxy parameters" in "1.12.3.1. Istio global example"[1]
      "Table 1.9. Istio Mixer telemetry parameters" in "1.12.3.3. Istio Mixer configuration"[1]

      "Table 2.3. Proxy parameters" in "2.11.3.1. Istio global example"[2]
      "Table 2.6. Istio Mixer telemetry parameters" in "2.11.3.3. Istio Mixer configuration"[2]

      [1] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/service_mesh/index#ossm-cr-parameters_ossm-custom-resources-v2x
      [2] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/service_mesh/index#ossm-cr-parameters_ossm-controler-items-v1x

      Describe the issue:

      1. The following four tables contain the wrong type "Resources" (same issues).
      We think all of them should be not "Resources" but "Requests".

      + "Table 1.6. Proxy parameters" in "1.12.3.1. Istio global example"[1]
      + "Table 1.9. Istio Mixer telemetry parameters" in "1.12.3.3. Istio Mixer configuration"[1]

      + "Table 2.3. Proxy parameters" in "2.11.3.1. Istio global example"[2]
      + "Table 2.6. Istio Mixer telemetry parameters" in "2.11.3.3. Istio Mixer configuration"[2]

      2. "Table 1.6. Proxy parameters" in "1.12.3.1. Istio global example"[1] shows the default
      values of "resources.requests" and "resources.limits" as follow:

      ------------------------------------------------------------
      Resources (Note: This should be changed to "Requests" as indicated in #1 above)

      • cpu: 10m
      • memory: 1024Mi
        ^^^^^^^^^^^^^^ (A)
        Limits:
      • cpu: 2000m
      • memory: 128Mi
        ^^^^^^^^^^^^^ (B)
        ------------------------------------------------------------

      The "Requests" memory 1024Mi (A) seems to be invalid because it can not exceed the "Limits" memory 128Mi (B).

      Note1: The "Requests" memory 1024Mi seems to have been changed by PR#20952[3][4].

      [1] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/service_mesh/index#ossm-cr-parameters_ossm-custom-resources-v2x
      [2] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/service_mesh/index#ossm-cr-parameters_ossm-controler-items-v1x
      [3] https://github.com/openshift/openshift-docs/pull/20952
      [4] https://github.com/openshift/openshift-docs/pull/20952/files#diff-25722bbad2a4cadc66018ca5e1ac689b91da2c124e13993be2d63f7381afb9a8

      Note2: Our partner mentions that here are the default values of sidecar resource on OCP4.6.
      ~~~

      1. oc describe pod | egrep "istio-proxy:" -A27
        istio-proxy:
        <snip>
        Limits:
        cpu: 2
        memory: 1Gi
        Requests:
        cpu: 10m
        memory: 128Mi
        <snip>
        ~~~

      Suggestions for improvement:

      Refer to the "Describe the issue:" section

      Additional information:

      None

       

              ntimpe@redhat.com Neal Timpe
              rhn-support-hfukumot Hideshi Fukumoto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: