In this example, there are applications where the autoscaler rules are set. The rules are set as follows:
- Min instances 4, Max instances 8
- There also is a rule for CPU, min is 20%, max is 80%
Now there are 4 instances of this application running, and they all are over 90%. However, autoscaler is not working with this app.
As a troubleshooting step you enabled
debug and
verbose logging on the autocaler app:
- cf t -o system -s autoscaling
- cf set-env autoscale LOG_LEVEL debug
- cf set-env autoscale LOG_VERBOSE true
- restage application
Within the autoscaler debug logs you find the following line corresponding to the affected application:
2019-10-18T12:40:58.19-0400 [APP/PROC/WEB/0] OUT time="2019-10-18T16:40:58Z" level=info msg="Unable to scale. App instance quota has been reached. for app <guid> in space <guid>"