I want to configure autoscaling on an app service plan, which is currently hosting a web app.
I created my scale in and scale out rules. At the bottom of the page there is a setting for "minimum", "maximum" and "default", which I configured as "1", "15" and "2".
From my understanding, the "default" value should be used only if metrics can't be retrieved.
My scale in rule is set to remove one instance if the memory usage is below 30%, which triggers as expected if the number of instances is greater or equals than 2; but it never triggers after that - unless I set the "default" value to be 1 as well.
I don't understand this behaviour, why does this happen?
Thanks a lot!
the "default" value should be used only if metrics can't be retrieved..
It is not specifically used only if metrics can’t be retrieved. When no other profile matches the current time or metric conditions, the auto scale settings’ “default” value is applied.
but it never triggers after that...and I don't understand this behaviour, why does this happen?
it could be because the memory usage of the remaining instances is above 30%.