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

Custom Metrics Autoscaler: KedaController example is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.13
    • Documentation / Node
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      The page https://docs.openshift.com/container-platform/4.13/nodes/cma/nodes-cma-autoscaling-custom-install.html contains an example for a "KedaController" object.
      
      The example does not work, as the field "omitStages" expects an array, not a string. So the KedaController example needs to be fixed to have the right syntax.

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

      Custom Metrics Autoscaler documentation (4.13, 4.12), maybe other versions are affected as well

      How reproducible:

      Always

      Steps to Reproduce:

      1. Visit https://docs.openshift.com/container-platform/4.13/nodes/cma/nodes-cma-autoscaling-custom-install.html
      2. Follow the steps outlined to install the custom metrics autoscaler

      Actual results:

      Creating the "KedaController" object in step 8 fails due to field being a string and not an array

      Expected results:

      Examples work without any errors

      Additional info:

      
      

              mburke@redhat.com Michael Burke
              rhn-support-skrenger Simon Krenger
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: