Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2797

Enhancements to workloads when an HPA is applied

    XMLWordPrintable

Details

    Description

      Background
      This story looks at the user experience when an HPA is active for a workload. The pod donut shows that the workload is autoscaled, but we don't have a link to the HPA itself to see the details. Also the Add HPA action is still enabled even though the workload is already autoscaled. We avoid encouraging the user to create a second HPA that will fight with the first.

      The Topology page has edit and remove HPA actions. We should look at adding those actions to the details page.

      Breakdown of UX Enhancements

      • When an HPA is active for a workload:
        • Add a link to the HPA itself to see the details under the pod doughnut 
          • consider including a popover that describes HPAs
          • consider including info like min and max replica count
        • The Add HPA action is still enabled even though the workload is already autoscaled (we avoid encouraging the user to create a second HPA that will fight with the first). Instead, the dropdown should surface "Edit Horizontal Pod Autoscaler" and "Remove Horizontal Pod Autoscaler". We should also remove "Edit Pod count" when a resource is managed by an HPA, as the HPA will override that value.
        • The word "Pod" has been removed from the doughnut when an HPA is applied - can we add that back in or figure out why it was removed?

      Assets

      Note from Andrew on 1/25: So FYI, we are waiting on some extensibility to help us with this kebab mess. The action items on a details page is technically annoying to try and base on the existence of another resource. We currently have this ticket (https://issues.redhat.com/browse/ODC-4412) that wants to fix the Deployments page but suffers from the inability to properly fetch the HPA to do the proper kebab option changes. With extensibility we would be able to fetch a resource with the kebab option and finally be able to address the issue.

       

      Attachments

        1. 2.png
          2.png
          174 kB
        2. 3.png
          3.png
          187 kB
        3. 4.png
          4.png
          191 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mehall-1 Megan Hall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: