forked from laiweijian4/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
11 KiB
11 KiB
Scaling Out a Cluster with only Common Nodes
Function
This API is used to scale out a cluster with only common nodes. Clusters with master, client, or cold data nodes cannot use this API.
URI
POST /v1.0/{project_id}/clusters/{cluster_id}/extend
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
cluster_id |
Yes |
String |
ID of the cluster to be scaled out. |
Request
Table 2 describes the request parameters.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
grow |
Yes |
Object |
Detailed description about the cluster scale-out request. For details, see Table 3. |
Response
None
Examples
Example request
POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/extend { "grow": { "modifySize": 4 } }
Example response
{}
Status Code
Table 4 describes the status code.
Parent topic: Cluster Management APIs