Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15662

DO180: ch06s11 - clarify hpa creation method and naming in reliability review lab instructions - RHT2425264

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DO180 - RHOCP4.14-en-3-20250404
    • DO180
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 6
    • en-US (English)

      URL: ch06s11
      Reporter RHNID: admendez
      Section title: Lab: Configure Applications for Reliability
      Language: English

      Issue description

      I don't think this is a bug but I think there is room for improvement. The grading script expects one to create the hpa resource using the hpa.yml file, however, the wording i.e "Because the file is incomplete, you must update it first if you choose to use it." can be interpreted that instead of creating the resource with the file and the `oc apply -f...` command one could opt to use the `oc autoscale...`command to achieve the same result.

      the other thing i noticed is that the grading script expects the name of the hpa resource to be 'memory' but in the instructions it says 'The resource that you create for scaling the application must be named longload'.
      If one is trying to test their knowledge the grading scripts give some guidance (as to what the name must be) but they are contrary to the instructions which lead to some confusion on my end until I opened the solution.

       

      Workaround:
      1. Change the text 'Because the file is incomplete, you must update it first if you choose to use it.' to 'Because the file is incomplete, you must update it before creating the HorizontalPodAutoscaler resource.' This removes the implication that using the file is optional.

      2. To clarify the naming, change the instruction 'The resource that you create for scaling the application must be named longload.' to 'The HorizontalPodAutoscaler resource you create must be named longload. The metric for scaling should be based on memory utilization.'

       

              gls-curriculum-ocp-core@redhat.com PTL - OCP Platform Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: