-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple deployments per httpso #1053
Comments
Hello, |
hi @Varun-Mehrotra, that is an interesting scenario where I would consider a different approach potentially
I think it should be possible to create first That way there is a single metric related to the network traffic for the main |
I am also inclined towards this solution. I wouldn't like to modify ScaledObjects in KEDA to support array of targets. We discussed this many times and decided to stick to the current solution. |
Hey @wozniakjan, totally makes sense, thanks for the suggestion. I was actually able to already try that out and it works really well. I setup one Now that environment is down most of the time and comes up within a minute or two whenever someone tries to access it, and scales back down to 0 after an hour of no use. Works super well for some ephemeral environments I've got setup that are used maybe once or twice a day while they are alive. Now I'm just trying to figure out how to get this working without an externalName service cause Amazon's ingress doesn't work with it. |
nice, glad it works with your setup :)
yeah, sadly that appears to be the case for |
Hm gotcha. I was also thinking of just setting up an nginx deployment to route the traffic but that seemed like too many proxies in the mix lol. Thanks for the advice! |
I think we reached a conclusion on this topic, I will close it but feel free to reopen it in case you'd like to continue the discussion. |
Proposal
Currently, the http-add-on scales one deployment for each
HTTPScaledObeject
. This makes it difficult to scale multiple deployments based on traffic for one service. If you attempt to do this right now (as in creating multipleHTTPScaledObjects
that point to the same service, but different deployments) not all deployments are scaled, only one is at a time, and seemingly random at that.There's two ways I see it that this can be implemented:
HTTPScaledObjects
HTTPScaledObject
schema to support an array of objects rather than a single deployment/daemon set.Use-Case
The use case I'm looking at specifically is for something like a development environment, or something else that doesn't need to necessarily be up immediately. I'd like to scale down all deployments that I'm running in a namespace dependant on the traffic to one service.
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: