-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
None
-
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.