Delegate HPA management to KEDA #14877
Labels
kind/feature
Well-understood/specified features, ready for coding.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Describe the feature
Knative's autoscaler-hpa manages hpa object on behalf of the user. For custom metrics users need to setup Prometheus and Prometheus adapter to register the metrics with the corresponding K8s api (example).
However Prometheus adapter is under maintenance upstream and KEDA among others supports hpa based autoscaling.
Given the popularity of KEDA for pull model, event based autoscaling delegating the hpa management to KEDA would help users to only deal with KEDA or Knative resources and not K8s low level resources.
That means Knative autoscaler-hpa controller could instead create scaledObjects on behalf of the user that map to a K8s HPA object managed by KEDA. This idea could be implemented as a Knative extension. Here is a poc of how this looks in practice as part of the current autoscaler-hpa component.
cc @dprotaso @ReToCode
The text was updated successfully, but these errors were encountered: