Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-2435

Quay should not create HPA for Clair APP and Mirror when horizontalpodautoscaler component is unmanaged

    XMLWordPrintable

Details

    • 0

    Description

      Description:

      This is an issue found when deploy Quay with Quay Operator, when set Quay Operator Component "horizontalpodautoscaler" to unmanaged, the expected behavior should be operator will not create HPA for quay/mirror/clair, but the results is Quay Operator still create HPA for Clair APP.

      Note: Quay image is "quay-operator-bundle-container-v3.6.0-18"

      oc get pod
      NAME                                         READY   STATUS      RESTARTS   AGE
      quay36-clair-app-74cd8bdbcf-bbq5r            1/1     Running     3          108s
      quay36-clair-app-74cd8bdbcf-xj7wn            1/1     Running     3          111s
      quay36-clair-postgres-7cb7f475b9-4z8wz       1/1     Running     0          79s
      quay36-quay-app-57d9c84598-f624z             0/1     Running     4          111s
      quay36-quay-app-upgrade-sv99m                1/1     Running     4          119s
      quay36-quay-config-editor-64799c474b-hb586   1/1     Running     0          111s
      quay36-quay-database-5bd8d49d85-vgmkc        1/1     Running     1          111s
      quay36-quay-postgres-init-49jfd              0/1     Completed   0          112s
      quay36-quay-redis-78c868b886-n4rt5           1/1     Running     0          111s
      
      oc get hpa
      NAME               REFERENCE                     TARGETS            MINPODS   MAXPODS   REPLICAS   AGE
      quay36-clair-app   Deployment/quay36-clair-app   45%/90%, 72%/90%   2         10        2          8m6s
      
      Quay Registry CR:

      Steps:

      1.  Deploy Quay with Operator, choose to set component "horizontalpodautoscaler" as unmanaged
      2.  After QuayRegistry is ready, check HPA

      Expected Results:

      No HPA created for quay/mirror/clair

      Actual Results:

      New HPA was created for Clair App.

      Attachments

        Activity

          People

            jonathankingfc Jonathan King
            lzha1981 luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: