How to scale a multi-port target deployment using KEDA-HTTP Add-on #753
Unanswered
IsuruBoyagane15
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been using the add-on to scale Kubernetes applications in my cluster.
However, I am not clear whether I can use the add-on to scale an application that exposes multiple ports since the HTTPScaledObject expects single port in this struct [1].
If I understood correctly, the interceptor will route all the requests coming to a host to the port specified in the HTTPScaledObject.
Said that, If I have a application with multi-port services (Say, port 8080, port 8081 and port 8083 are exposed in this application), I might have to specify one port (say I used 8080) in the HTTPScaledObject for that deployment. In that case, if a request comes to the port 8081 of the same deployment, will interceptor route that request to port 8080 (which is incorrect)?
Or, is there a way we can use the Add on to scale multi-port deployments?
[1]
http-add-on/operator/apis/http/v1alpha1/httpscaledobject_types.go
Line 30 in fe035b9
Beta Was this translation helpful? Give feedback.
All reactions