jthomperoo / predictive-horizontal-pod-autoscaler

Horizontal Pod Autoscaler built with predictive abilities using statistical models
Apache License 2.0
330 stars 30 forks source link

Does PHPA support custom and external metric as k8s HPA? #75

Closed wildermesser closed 1 year ago

wildermesser commented 1 year ago

Currently HPA in Kubernetes supports various metrics sources: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis

Does PHPA support these type of metrics sources? Or only Resource metrics?

jthomperoo commented 1 year ago

Hi @wildermesser, yes the PHPA supports both custom and external metrics, it relies on the jthomperoo/k8shorizmetrics project to do that which aims to have parity with the features that the K8s HPA supports. If you encounter any issues/lack of matching support please raise an issue and I'll have a look.

Thanks!