All Products
Search
Document Center

ScaleK8sApplicationRequest

Last Updated: Nov 16, 2018

Function

Scale up or deprecate an application instance in the Kubernetes cluster of Container Service.

Request URL

/pop/v5/k8s/acs/k8s_apps

Request method

PUT

Request parameters

Parameter Type Required? Description
AppId String Yes Application ID, which can be obtained by the ListApplicationRequest API
Replicas Integer Yes Number of application instances to be scaled up or retained. The minimum value is 0.

Response parameters

Parameter Type Description
RequestId String Unique request ID
Code Integer Code
Message String Message
ChangeOrderId String Publication order ID. Call the GetChangeOrderInfoRequest API to display the scale-up or deprecation progress.