Azure / aks-app-routing-operator

Kubernetes operator that implements AKS Application Routing
https://learn.microsoft.com/en-us/azure/aks/app-routing
MIT License
31 stars 23 forks source link

Temporary Changes for Scale Tests #171

Closed jaiveerk closed 6 months ago

jaiveerk commented 7 months ago

Description

Our scale tests revealed that, at scale, 80% target CPU and 100 max replicas for the autoscaler isn't sufficient in some scenarios.

In short, I concluded that this was due to nginx waiting too long to scale and overcompensating by creating too many replicas too quickly, which suddenly had to be drained and removed when the load evened out/was no longer ramping up, which led to worse performance in our tests.

In the long run, we'll need to make both of these fields customizable by our end users, but in the meantime, this is a good temporary fix to allow app routing to operate well at scale.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Via scale tests

Checklist: