forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
240 lines
28 KiB
HTML
240 lines
28 KiB
HTML
<a name="ResizeCluster"></a><a name="ResizeCluster"></a>
|
|
|
|
<h1 class="topictitle1">Modifying Cluster Specifications</h1>
|
|
<div id="body32001227"><div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section17850173511616"><h4 class="sectiontitle">Function</h4><p id="ResizeCluster__en-us_topic_0000002284800612_p108506356618">This API is used to modify the specifications of a cluster.</p>
|
|
<div class="note" id="ResizeCluster__en-us_topic_0000002284800612_note285083515612"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="ResizeCluster__en-us_topic_0000002284800612_ul88504351161"><li id="ResizeCluster__en-us_topic_0000002284800612_li1285013518620"><p id="ResizeCluster__en-us_topic_0000002284800612_p158501535363"><a name="ResizeCluster__en-us_topic_0000002284800612_li1285013518620"></a><a name="en-us_topic_0000002284800612_li1285013518620"></a>The URL for cluster management is in the format of <strong id="ResizeCluster__en-us_topic_0000002284800612_b3850153515618">https://Endpoint/uri</strong>, in which <em id="ResizeCluster__en-us_topic_0000002284800612_i185018351760">uri</em> indicates the resource path, that is, the path for API access.</p>
|
|
</li></ul>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p78501935566"></p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="ResizeCluster__en-us_topic_0000002284800612_p11851935366">POST /api/v3/projects/{project_id}/clusters/{cluster_id}/operation/resize</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_table1285112351466" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row98515356616"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p785119351561">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p11851035864">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ResizeCluster__en-us_topic_0000002284800612_p1385163515617">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ResizeCluster__en-us_topic_0000002284800612_p9851113519618">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row385116351765"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1485116351567">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1985193514618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1285211351265">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p985211351868"><strong id="ResizeCluster__en-us_topic_0000002284800612_b16852173513613">Details</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p48524354612">Project ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p188521535368"><strong id="ResizeCluster__en-us_topic_0000002284800612_b48522354620">Constraints</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p128527355611">None</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p16852103510620"><strong id="ResizeCluster__en-us_topic_0000002284800612_b2085213351668">Options</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p1585253519614">Project IDs of the account</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p28521435462"><strong id="ResizeCluster__en-us_topic_0000002284800612_b178529359616">Default value</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p385215351561">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ResizeCluster__en-us_topic_0000002284800612_row13851635068"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p7852435663">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p685293512618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p28528356616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p11852835961"><strong id="ResizeCluster__en-us_topic_0000002284800612_b1585263519611">Details</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p17852153510613">Cluster ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p178528351263"><strong id="ResizeCluster__en-us_topic_0000002284800612_b1085243520617">Constraints</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p6852435961">None</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p985210351361"><strong id="ResizeCluster__en-us_topic_0000002284800612_b485211351069">Options</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p985203517617">Cluster IDs</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p985273511617"><strong id="ResizeCluster__en-us_topic_0000002284800612_b6852135468">Default value</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p585214351161">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section585393516611"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row158538358610"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p1785314351160">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p178531735461">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ResizeCluster__en-us_topic_0000002284800612_p28531035260">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ResizeCluster__en-us_topic_0000002284800612_p9853133512618">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row7853143518614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p785316351460">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p128541035567">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1585419357620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p19854173512618"><strong id="ResizeCluster__en-us_topic_0000002284800612_b2854153517611">Details</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p5854103517614">The request body type or format</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p1185416358618"><strong id="ResizeCluster__en-us_topic_0000002284800612_b5854535268">Constraints</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p1185483515616">The GET method is not verified.</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p18854123516610"><strong id="ResizeCluster__en-us_topic_0000002284800612_b1685423511611">Options</strong>:</p>
|
|
<ul id="ResizeCluster__en-us_topic_0000002284800612_ul13854935969"><li id="ResizeCluster__en-us_topic_0000002284800612_li685411352610"><p id="ResizeCluster__en-us_topic_0000002284800612_p168547351766"><a name="ResizeCluster__en-us_topic_0000002284800612_li685411352610"></a><a name="en-us_topic_0000002284800612_li685411352610"></a>application/json</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li9854113517618"><p id="ResizeCluster__en-us_topic_0000002284800612_p19854135969"><a name="ResizeCluster__en-us_topic_0000002284800612_li9854113517618"></a><a name="en-us_topic_0000002284800612_li9854113517618"></a>application/json;charset=utf-8</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li18547350617"><p id="ResizeCluster__en-us_topic_0000002284800612_p168541835361"><a name="ResizeCluster__en-us_topic_0000002284800612_li18547350617"></a><a name="en-us_topic_0000002284800612_li18547350617"></a>application/x-pem-file</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li085463513619"><p id="ResizeCluster__en-us_topic_0000002284800612_p2854335862"><a name="ResizeCluster__en-us_topic_0000002284800612_li085463513619"></a><a name="en-us_topic_0000002284800612_li085463513619"></a>multipart/form-data (used when the <strong id="ResizeCluster__en-us_topic_0000002284800612_b12854183512612">FormData</strong> parameter is present)</p>
|
|
</li></ul>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p19854203517614"><strong id="ResizeCluster__en-us_topic_0000002284800612_b1985423515610">Default value</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p16854143516616">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ResizeCluster__en-us_topic_0000002284800612_row58538359610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1785423517610">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p185416357618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p108545359612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p985410354618"><strong id="ResizeCluster__en-us_topic_0000002284800612_b168544357613">Details</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p28554351067">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p1585510351762"><strong id="ResizeCluster__en-us_topic_0000002284800612_b5855435262">Constraints</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p38552351618">None</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p158550351611"><strong id="ResizeCluster__en-us_topic_0000002284800612_b18855133517618">Options</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p1585533519610">N/A</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p118551351061"><strong id="ResizeCluster__en-us_topic_0000002284800612_b685518355611">Default value</strong>:</p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p785519351766">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_request_ResizeClusterRequest" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row2855535567"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p5855183514618">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p178551035662">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ResizeCluster__en-us_topic_0000002284800612_p285510351761">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ResizeCluster__en-us_topic_0000002284800612_p585518357615">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row08552354611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p198567351468">flavorResize</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p4856203517612">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p168561835663">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1785693512617">The target flavor to be changed. You can only adjust the maximum number of worker nodes in a cluster. The number of master nodes is fixed and cannot be altered, and the cluster flavors cannot be downgraded. Suppose the original cluster flavor is <strong id="ResizeCluster__en-us_topic_0000002284800612_b14856335664">cce.s2.medium</strong>. In that case, you can only upgrade it to <strong id="ResizeCluster__en-us_topic_0000002284800612_b2856335269">cce.s2.large</strong> or higher, but you cannot downgrade it to <strong id="ResizeCluster__en-us_topic_0000002284800612_b38561835261">cce.s2.small</strong> or <strong id="ResizeCluster__en-us_topic_0000002284800612_b108561435161">cce.s1.medium</strong>.</p>
|
|
<ul id="ResizeCluster__en-us_topic_0000002284800612_ul1685616351614"><li id="ResizeCluster__en-us_topic_0000002284800612_li8856235767"><p id="ResizeCluster__en-us_topic_0000002284800612_p78565351466"><a name="ResizeCluster__en-us_topic_0000002284800612_li8856235767"></a><a name="en-us_topic_0000002284800612_li8856235767"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b1785612352618">cce.s1.small</strong>: a small-scale CCE cluster with one master node and a maximum of 50 worker nodes</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li188569353614"><p id="ResizeCluster__en-us_topic_0000002284800612_p1585610356613"><a name="ResizeCluster__en-us_topic_0000002284800612_li188569353614"></a><a name="en-us_topic_0000002284800612_li188569353614"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b385653520613">cce.s1.medium</strong>: a medium-scale CCE cluster with one master node and a maximum of 200 worker nodes</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li3856173519611"><p id="ResizeCluster__en-us_topic_0000002284800612_p1685613351615"><a name="ResizeCluster__en-us_topic_0000002284800612_li3856173519611"></a><a name="en-us_topic_0000002284800612_li3856173519611"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b38561335163">cce.s2.small</strong>: a small-scale CCE cluster with three master nodes and a maximum of 50 worker nodes</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li28561135862"><p id="ResizeCluster__en-us_topic_0000002284800612_p685616356618"><a name="ResizeCluster__en-us_topic_0000002284800612_li28561135862"></a><a name="en-us_topic_0000002284800612_li28561135862"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b285616351963">cce.s2.medium</strong>: a medium-scale CCE cluster with three master nodes and a maximum of 200 worker nodes</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li985616351965"><p id="ResizeCluster__en-us_topic_0000002284800612_p1185673513613"><a name="ResizeCluster__en-us_topic_0000002284800612_li985616351965"></a><a name="en-us_topic_0000002284800612_li985616351965"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b2085673512611">cce.s2.large</strong>: a large-scale CCE cluster with three master nodes and a maximum of 1,000 worker nodes</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li16856435766"><p id="ResizeCluster__en-us_topic_0000002284800612_p585653510611"><a name="ResizeCluster__en-us_topic_0000002284800612_li16856435766"></a><a name="en-us_topic_0000002284800612_li16856435766"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b198564351613">cce.s2.xlarge</strong>: an ultra-large-scale CCE cluster with three master nodes and a maximum of 2,000 worker nodes</p>
|
|
</li></ul>
|
|
<div class="note" id="ResizeCluster__en-us_topic_0000002284800612_note68562351466"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="ResizeCluster__en-us_topic_0000002284800612_p68565356620">The fields in the parameters are described as follows:</p>
|
|
<ul id="ResizeCluster__en-us_topic_0000002284800612_ul188561535164"><li id="ResizeCluster__en-us_topic_0000002284800612_li1385714351261"><p id="ResizeCluster__en-us_topic_0000002284800612_p9857193519614"><a name="ResizeCluster__en-us_topic_0000002284800612_li1385714351261"></a><a name="en-us_topic_0000002284800612_li1385714351261"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b20857235763">s1</strong>: specifies a cluster with one master node. If the master node is faulty, the cluster will become unavailable, but running workloads in the cluster are not affected.</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li985783512610"><p id="ResizeCluster__en-us_topic_0000002284800612_p4857153512617"><a name="ResizeCluster__en-us_topic_0000002284800612_li985783512610"></a><a name="en-us_topic_0000002284800612_li985783512610"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b13857103518613">s2</strong>: specifies an HA cluster with three master nodes. If one of the master nodes is faulty, the cluster is still available.</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li68575358619"><p id="ResizeCluster__en-us_topic_0000002284800612_p1185716351661"><a name="ResizeCluster__en-us_topic_0000002284800612_li68575358619"></a><a name="en-us_topic_0000002284800612_li68575358619"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b188578358616">small</strong>: specifies that a cluster can manage a maximum of 50 worker nodes.</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li17857835369"><p id="ResizeCluster__en-us_topic_0000002284800612_p168571735766"><a name="ResizeCluster__en-us_topic_0000002284800612_li17857835369"></a><a name="en-us_topic_0000002284800612_li17857835369"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b19857235764">medium</strong>: specifies that a cluster can manage a maximum of 200 worker nodes.</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li885793516619"><p id="ResizeCluster__en-us_topic_0000002284800612_p1857193511614"><a name="ResizeCluster__en-us_topic_0000002284800612_li885793516619"></a><a name="en-us_topic_0000002284800612_li885793516619"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b1785713351061">large</strong>: specifies that a cluster can manage a maximum of 1,000 worker nodes.</p>
|
|
</li><li id="ResizeCluster__en-us_topic_0000002284800612_li98571935567"><p id="ResizeCluster__en-us_topic_0000002284800612_p13857103517618"><a name="ResizeCluster__en-us_topic_0000002284800612_li98571935567"></a><a name="en-us_topic_0000002284800612_li98571935567"></a><strong id="ResizeCluster__en-us_topic_0000002284800612_b1185719359618">xlarge</strong>: specifies that a cluster can manage a maximum of 2,000 worker nodes.</p>
|
|
</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="ResizeCluster__en-us_topic_0000002284800612_row6855143512616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1085783515617">extendParam</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p88577351618">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p208572035463"><a href="#ResizeCluster__en-us_topic_0000002284800612_request_extendParam">extendParam</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p128573351462">Extended field for changing cluster specifications</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ResizeCluster__en-us_topic_0000002284800612_request_extendParam"></a><a name="en-us_topic_0000002284800612_request_extendParam"></a><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_request_extendParam" frame="border" border="1" rules="all"><caption><b>Table 4 </b>extendParam</caption><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row1585710351969"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p188580355619">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p1485817352069">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="ResizeCluster__en-us_topic_0000002284800612_p785803520612">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="ResizeCluster__en-us_topic_0000002284800612_p8858235066">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row198575354619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p14858535564">decMasterFlavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p208584351863">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p48585351262">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ResizeCluster__en-us_topic_0000002284800612_p38580353616">Specifications of the master node in the dedicated hybrid cluster</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section885910351460"><h4 class="sectiontitle">Response Parameters</h4><p id="ResizeCluster__en-us_topic_0000002284800612_p9859173517610"><strong id="ResizeCluster__en-us_topic_0000002284800612_b885917353618">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_response_ResizeClusterResponse" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row785943518615"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p3860635469">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p108605351666">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="ResizeCluster__en-us_topic_0000002284800612_p58601135261">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row168591335768"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p78601935369">jobID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p38608352618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ResizeCluster__en-us_topic_0000002284800612_p18602351611">Job ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section1886033517619"><h4 class="sectiontitle">Example Requests</h4><ul id="ResizeCluster__en-us_topic_0000002284800612_ul1286018353615"><li id="ResizeCluster__en-us_topic_0000002284800612_li68614351360"><p id="ResizeCluster__en-us_topic_0000002284800612_p1286133516613"><a name="ResizeCluster__en-us_topic_0000002284800612_li68614351360"></a><a name="en-us_topic_0000002284800612_li68614351360"></a>Modifying the specifications of the pay-per-use cluster</p>
|
|
<pre class="screen" id="ResizeCluster__en-us_topic_0000002284800612_screen28611735961">POST /api/v3/projects/{project_id}/clusters/{cluster_id}/operation/resize
|
|
|
|
{
|
|
"flavorResize" : "cce.s1.medium"
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section48617351560"><h4 class="sectiontitle">Example Responses</h4><p id="ResizeCluster__en-us_topic_0000002284800612_p186153517610"><strong id="ResizeCluster__en-us_topic_0000002284800612_b1586111356614">Status code: 201</strong></p>
|
|
<p id="ResizeCluster__en-us_topic_0000002284800612_p16861123515614">The job for modifying the specifications of the pay-per-use cluster is delivered.</p>
|
|
<pre class="screen" id="ResizeCluster__en-us_topic_0000002284800612_screen0861335566">{
|
|
"jobID" : "13b8d958-8fcf-11ed-aef3-0255ac1001bd"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section88611035561"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ResizeCluster__en-us_topic_0000002284800612_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ResizeCluster__en-us_topic_0000002284800612_row19861173514613"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ResizeCluster__en-us_topic_0000002284800612_p198622351565">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ResizeCluster__en-us_topic_0000002284800612_p13862835563">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ResizeCluster__en-us_topic_0000002284800612_row88611352618"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ResizeCluster__en-us_topic_0000002284800612_p1786233519617">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ResizeCluster__en-us_topic_0000002284800612_p286220356620">The job for modifying the specifications of the pay-per-use cluster is delivered.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ResizeCluster__en-us_topic_0000002284800612_section8862935961"><h4 class="sectiontitle">Error Codes</h4><p id="ResizeCluster__en-us_topic_0000002284800612_p16862103515619">See <a href="cce_02_0250.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_02_0092.html">Cluster Management</a></div>
|
|
</div>
|
|
</div>
|
|
|