custom-pod-autoscaler icon indicating copy to clipboard operation
custom-pod-autoscaler copied to clipboard

Target multiple deployments in one custom auto scaler

Open mohammadkhavari opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I have a microservice and want to create a custom autoscaler for services, considering I want to use the same scaling policy for all services, by using CPA I should make multiple CPA's for scaling services because I can target just one deployment by name on CPA, in the end, there's multiple CPA pods. I think It's not an efficient solution.

Describe the solution you'd like one CPA pod targets multiple deployments and runs (metric gatherer, evaluation) for each of them on the interval (in some order).

mohammadkhavari avatar Jul 08 '22 17:07 mohammadkhavari

The original design for the CPA originally allowed you to target multiple deployments, but was removed for simplicity sake. I've assigned this to myself to investigate if this would now be feasible; possibly as a new run mode. I'll update this ticket with any investigation results.

jthomperoo avatar Sep 16 '22 18:09 jthomperoo