Update the maximum number of replicas the Listener platform can scale ingest micro-service to. The minimum number of replicas is automatically managed by Listener.
Definition
PATCH https://CLUSTER.DOMAIN/listener/appservices/autoscale/ingest-services
Example Request
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TOKEN" \
-X PATCH \
-d '{
"max_replicas": 5,
}' \
-i \
https://CLUSTER.DOMAIN/listener/appservices/autoscale/ingest-services
Example Response
Success response: 200 ok. Response body: { "name": "ingest-services", "max_replicas": 5, "min_replicas": 1, "current_replicas": 1, "last_scale_time": "2017-06-06T21:27:11Z", "replicas_available":15 }
Response Codes
Code | Description |
---|---|
200 | Success. |
400 | Either:
|
401 | Unauthorized. |
500 | Internal server error. |