autoscale
Modify autoscale settings.
def autoscale(
state: object,
max: integer = None,
min: integer = None
) - > string
Modify autoscale settings.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current application state containing the consumer and controller instances |
| max | integer = None | The maximum number of workers the autoscaler is permitted to spawn |
| min | integer = None | The minimum number of workers the autoscaler must maintain |
Returns
| Type | Description |
|---|---|
string | A success message indicating the updated maximum and minimum worker limits |