Skip to content
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

Dynamic Pod Scaling Based on Request Count #5786

Open
Ravikapadne opened this issue May 7, 2024 · 1 comment
Open

Dynamic Pod Scaling Based on Request Count #5786

Ravikapadne opened this issue May 7, 2024 · 1 comment
Labels
feature-request All issues for new features that have not been committed to needs-discussion

Comments

@Ravikapadne
Copy link

Proposal

Hi Team,

I am reaching out to discuss a potential enhancement to the KEDA autoscaling capabilities that could greatly benefit users who need more dynamic scaling options based on specific metrics, such as request counts

Background:
Our team is currently leveraging KEDA to autoscale our Kubernetes deployments. We've found KEDA to be incredibly useful for managing our resources efficiently. However, we've encountered a scenario where we need to scale our pods more dynamically based on the number of requests our service receives

Requirement:
We are looking for a way to scale our pods based on the total request count. Specifically, we would like to automatically scale the number of pods in direct proportion to the request count. For example:

  • If the request count increases to 10,000, we would like to scale to 10 pods.
  • If the request count reaches 20,000, we would like to scale to 20 pods, and so on.

This approach would allow us to handle spikes in traffic more efficiently and ensure that our services remain responsive under varying loads

Thanks,
Ravindra Kapadne

Use-Case

No response

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

@Ravikapadne Ravikapadne added feature-request All issues for new features that have not been committed to needs-discussion labels May 7, 2024
@JorTurFer
Copy link
Member

Hello,
Do you mean that you want to scale based on HTTP traffic? You can currently do it using an indirect measure (for example, scrapping the ingress metrics using prometheus and prometheus scaler).
If you want something more powerful, you can take a look to the HTTP add-on, but it's still on beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request All issues for new features that have not been committed to needs-discussion
Projects
None yet
Development

No branches or pull requests

2 participants