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

[enterprise-4.14] Example output not align with command itself

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.14
    • Documentation / CFE
    • No
    • 2
    • OSDOCS Sprint 247
    • 1
    • False
    • Hide

      None

      Show
      None

      What need update

      Under sectoin Overriding CPU and memory limits for the cert-manager components, step 3 "To configure the CPU and memory limits for the cert-manager controller, CA injector, and Webhook, enter the following command:".

      Current:

      $ oc patch certmanager.operator cluster --type=merge -p="
      spec:
        controllerConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 200m
              memory: 64Mi
        webhookConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 200m
              memory: 64Mi
        cainjectorConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 200m
              memory: 64Mi 

      Suggest change to:

      $ oc patch certmanager.operator cluster --type=merge -p="
      spec:
        controllerConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 10m
              memory: 16Mi
        webhookConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 10m
              memory: 16Mi
        cainjectorConfig:
          overrideResources:
            limits:
              cpu: 200m
              memory: 64Mi
            requests:
              cpu: 10m
              memory: 16Mi 

      In short, just change every

           requests:
              cpu: 200m
              memory: 64Mi  

      to

            requests:
              cpu: 10m
              memory: 16Mi 

      Why need this update

      In this section's "Example output" part, it shows

                  limits:
                    cpu: 200m
                    memory: 64Mi
                  requests:
                    cpu: 10m
                    memory: 16Mi 

      which isn't aligned with our example command.

            rhn-support-snarayan Shubha Narayanan
            rh-ee-yuewu Yuedong Wu
            Yuedong Wu Yuedong Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: