kedacore / http-add-on

Add-on for KEDA to scale HTTP workloads
https://kedacore.github.io/http-add-on/
Apache License 2.0
372 stars 97 forks source link

Support multiple `scaleTargetRef`s or support Ingress path #1175

Open ppawiggers opened 1 month ago

ppawiggers commented 1 month ago

Proposal

KEDA should be able to scale multiple scaleTargetRefs.

Or KEDA proxy should be able to select the corresponding Deployment based on Ingress path.

Use-Case

I have two Deployments: a and b. Both are accessible through Ingress. They share a hostname example.com and are routed on path: /a and /b.

I want to scale both Deployments when a request comes in, but it seems KEDA proxy cannot distinguish on path, it just randomly picks a HTTPScaledObject with the corresponding hostname and scales that Deployment.

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response