-
Notifications
You must be signed in to change notification settings - Fork 775
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
FleetAutoScaler scalingLimited is reporting the incorrect state #2828
Comments
I also met the same situation in my EKS and Minikube environment. In conclusion, I guess it's expected behavior. In pkg/fleetautoscalers/fleetautoscalers.go agones/pkg/fleetautoscalers/fleetautoscalers.go Lines 193 to 226 in 9f430b8
This limited flag is exposed as a Prometheus metric "agones_fleet_autoscalers_limited" and then we can see it as a "Scaling Limited" flag on Grafana.
In the above situation,
Initially, the replicas count is 0(no allocation) + 5 = 5. still, the same adjustment happens after 1 or 2 GameServers allocations. on "Metrics" Page.
I think it would be helpful to add "scale-in or scale-out is limited based on the fleet autoscaler's setting" in the description for avoiding such a misunderstanding. I couldn't see the Slack Thread that is mentioned above. |
Hi, may I handle this issue? I'll create PR soon! |
Reading above, I'm not 100% sure if this is actually an issue 🤔 That being said, please investigate and let us know if you can confirm either way. |
Or to be clearer - are you looking to update the code or the docs? (Sounds like the docs do need an update!) |
I will update docs! |
What happened:
It seems as though the scalingLimited attribute of an autoscaler is incorrectly reporting it's state.
What you expected to happen:
I expect scalingLimited = false when the number of gameservers < the maxReplicas
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): 1.24The text was updated successfully, but these errors were encountered: