-
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
Automatically pause downscaling based on defined metrics #5166
Comments
Could you provide a more detailed use case? In my opinion, if the metric requests per second are less than X, the pods should be scaled down, right? Alternatively, if the metric has some extreme value, you can use maxReplicaCount. |
So the use case is the following. I have a service So I want to be able to I don't see how maxReplicasCount can help in my use case |
@SpiritZhou I added more context ^, thanks |
This is a very common use case that happens almost every month at my company |
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. |
Proposal
Dynamically pause autoscaling based on condition. E.g pause when the metric
requests pers seconds
is less then XUse-Case
I have a service A that calls service B. When A has an outage it stop sending requests to B and therefore B starts to downscaling all the way to min. When A comes back online it starts storming B that doesn't have enough replicas to handle the load which can take it down or significantly increase the time to recover.
So I want to be able to pause downscaling of B when service A has an outage. I can define this by using custom metrics query like rps of B dropped below X.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
The text was updated successfully, but these errors were encountered: