-
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
Dynamic maxReplicaCount support (based on a scaler) #1500
Comments
This is not possible but I'm interested in the scenario because if the cluster no longer has the resources, we'll scale them out but they will be in a pending state so not sure if there is an issue or what we are trying to fix here. |
Pending pod will trigger cluster scale up. |
The maintenance case is also a valid use-case. |
I think I'm not fully getting your proposal. You suggesting to remove the max instance count, but how would we scale then? 🤔 |
My apologies for a short description. The suggestion is not to remove it, but to make it dynamic, based on a scaler. Lets say you have a backlog of thing to do - MyWorkload CPU metric above is an example. |
To summarize: |
This sound more like an custom external scaler? In the scaler you can implement your own scaling logic and scale the target workload based on that. |
The main strength of KEDA is variety of simple scalers. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
A clear and concise description of what you want to happen.
I would like to be able to change maxReplicaCount based on any scaler
One possible implementation might be :
Change maxReplicaCount of a ScaledObject using a different ScaledObject.
Use-Case
To maximize utility change maxReplicaCount of a Build agent scaler on cluster scaling.
Do not trigger cluster scaling, but react on it.
In other words - remove the need to hardcode a number for maxReplicaCount and control resources based on cluster scaling limits
If it is already possible to achieve this could you please share how :)
Thank you!
The text was updated successfully, but these errors were encountered: