-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Kubernetes Workload Autoscaler #1735
Comments
Any news about this? We have one use case where this option could help. In our case, we have one "RabbitMQ" hub which scale depending on the queues, but that hub does calls to other services. Now we are scaling them in base of the CPU this could improve our scaling rules taking in consideration the CPU and the amount of instances in the hub. |
My use-case is similar indeed and we are open for contributions so that would be great, thank you @JorTurFer! |
Hi @tomkerkhove |
I'm starting this and I have a doubt about it. |
I would personally rely on the controller. What about you @zroubalik ? |
Selectors on the other hand could be more generic - we can match mutliple Deployments 🤷♂️ |
We can match multiple Deployments or workloads in general, not only Deployments, that is the reason why I'm doubting... |
Yeah, that's what I thought. |
Okey, |
Sounds good to me! |
Proposal
When workloads on Kubernetes depend on each other, they typically need to scale accordingly.
This helps to avoid flooding downstream services because of scaling out other components.
For example - Workload A processes a queue and interacts with workload B. Workload A can autoscale based on queue depth and workload B on CPU. But in some scenarios, you want to add 1 instance for workload B for every 4 instances of workload A
Scaler Source
Number of instances of another workload that depends on the current workload
Scaling Mechanics
Add 1 instance for your workload, for every
n
instances of another workload.Authentication Source
Kubernetes service account
The text was updated successfully, but these errors were encountered: