This pull request changes the autoscaler so it can support more than one app. The implementation provides a pool of reconcilers that can be used against a set of applications.
App names must match a wildcard expression (e.g. my-app-*)
Apps must be in the same organization
FAS_API_TOKEN must have organization-wide permissions in order to fetch app list
The list of applications is fetched when the autoscaler is initially started up and is updated based on the FAS_APP_LIST_REFRESH_INTERVAL setting which defaults to 1 minute.
Fixes #22
Usage
To scale multiple applications, update set the organization slug and use a wildcard expression for the app name:
This pull request changes the autoscaler so it can support more than one app. The implementation provides a pool of reconcilers that can be used against a set of applications.
my-app-*
)FAS_API_TOKEN
must have organization-wide permissions in order to fetch app listThe list of applications is fetched when the autoscaler is initially started up and is updated based on the
FAS_APP_LIST_REFRESH_INTERVAL
setting which defaults to 1 minute.Fixes #22
Usage
To scale multiple applications, update set the organization slug and use a wildcard expression for the app name: