keda icon indicating copy to clipboard operation
keda copied to clipboard

Per-item scaling based on metric labels (Prometheus Scaler)

Open curtisraymond opened this issue 4 months ago • 2 comments

Proposal

I'm looking to optimize my current ScaledJob configuration so that when multiple PostgreSQL PVCs exceed a usage threshold, a separate job is launched for each PVC rather than processing them sequentially within a single job. This would improve efficiency and parallelism in resizing PVCs.

My current understanding is that KEDA's ScaledJob with the Prometheus scaler doesn't natively support per-item scaling based on metric labels (e.g., PVC names). This means I can't directly create multiple jobs, each with a different PVC name, based on the metric labels returned from the Prometheus query.

Use-Case

No response

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

curtisraymond avatar Oct 20 '24 18:10 curtisraymond