Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-1484

Expose cluster autoscaler metrics in HCP

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Context:
      Autoscaler is component managed by the control plane operator v2
      Autoscaler metrics are currently not exposed. See https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/proposals/metrics.md

      Acceptance criteria:

      • The cluster autoscaler cpov2 component reconciles a podMonitor. Just similarly to how the karpenter component does it with the asset and an adaptPodMonitor function control-plane-operator/controllers/hostedcontrolplane/v2/assets/karpenter/podmonitor.yaml
      • The podMonitor exposes the autoscaler metrics
      • This is unit tested with a generated fixtured within TestControlPlaneComponents
      • There's an e2e validating the metrics are reachable similar to the existing ValidateMetrics.

              jparrill@redhat.com Juan Manuel Parrilla Madrid
              agarcial@redhat.com Alberto Garcia Lamela
              None
              Martin Gencur Martin Gencur
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: