2.05.2.05 - 2.05 - Update Autoscaling - Teradata Listener

Teradata® Listener™ User Guide

prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

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:
  • max_replicas should be greater than 0
  • max_replicas is required
  • max_replicas cannot be less than currently running replicas
  • resources are available only for “n” more replicas
401 Unauthorized.
500 Internal server error.