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>
1852 lines
145 KiB
HTML
1852 lines
145 KiB
HTML
<a name="cce_02_0354"></a><a name="cce_02_0354"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Node Pool</h1>
|
|
<div id="body1587440508950"><div class="section" id="cce_02_0354__section1686113493165"><h4 class="sectiontitle">Function</h4><p id="cce_02_0354__p10492059174317">This API is used to create a node pool in a specified cluster.</p>
|
|
</div>
|
|
<div class="section" id="cce_02_0354__section8403243161416"><h4 class="sectiontitle">URI</h4><p id="cce_02_0354__p23575517439">POST /api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools</p>
|
|
<p id="cce_02_0354__p2037362514220"><a href="#cce_02_0354__table2027961241820">Table 1</a> describes the parameters of the API.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table2027961241820"></a><a name="table2027961241820"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table2027961241820" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="cce_02_0354__row122809120186"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.4.1.1"><p id="cce_02_0354__p91421758131813">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12%" id="mcps1.3.2.4.2.4.1.2"><p id="cce_02_0354__p101421758131816">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="68%" id="mcps1.3.2.4.2.4.1.3"><p id="cce_02_0354__p19143115818187">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row32801312121810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.4.1.1 "><p id="cce_02_0354__p1714415589184">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.4.2.4.1.2 "><p id="cce_02_0354__p814518580186">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.2.4.2.4.1.3 "><p id="cce_02_0354__p5145175891811">Project ID. For details about how to obtain the project ID, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1410610454440"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.4.1.1 "><p id="cce_02_0354__p4106245124416">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.4.2.4.1.2 "><p id="cce_02_0354__p11061345164415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.2.4.2.4.1.3 "><p id="cce_02_0354__p15106445114416">Cluster ID. For details about how to obtain the cluster ID, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="cce_02_0354__section947084713911"><h4 class="sectiontitle">Request</h4><p id="cce_02_0354__p18314816203655"><strong id="cce_02_0354__b1371932103613">Request parameters</strong>:</p>
|
|
<p id="cce_02_0354__p7105145203655"><a href="#cce_02_0354__table13796145119241">Table 2</a> and <a href="#cce_02_0354__table1644211019">Table 3</a> describe the request parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table13796145119241"></a><a name="table13796145119241"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table13796145119241" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="cce_02_0354__cce_02_0236_row55001954122614"><th align="left" class="cellrowborder" valign="top" width="18.5%" id="mcps1.3.3.4.2.5.1.1"><p id="cce_02_0354__cce_02_0236_p115009545264">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.249999999999998%" id="mcps1.3.3.4.2.5.1.2"><p id="cce_02_0354__cce_02_0236_p175001547265">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.84%" id="mcps1.3.3.4.2.5.1.3"><p id="cce_02_0354__cce_02_0236_p922311541187">String</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.410000000000004%" id="mcps1.3.3.4.2.5.1.4"><p id="cce_02_0354__cce_02_0236_p16500154162611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__cce_02_0236_row199801811203412"><td class="cellrowborder" valign="top" width="18.5%" headers="mcps1.3.3.4.2.5.1.1 "><p id="cce_02_0354__cce_02_0236_p69808112344">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.249999999999998%" headers="mcps1.3.3.4.2.5.1.2 "><p id="cce_02_0354__cce_02_0236_p3980111103414">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.84%" headers="mcps1.3.3.4.2.5.1.3 "><p id="cce_02_0354__cce_02_0236_p133849541818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.410000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="cce_02_0354__cce_02_0236_p169801011203416">Message body type (format).</p>
|
|
<p id="cce_02_0354__cce_02_0236_p1788220373510">Default: <strong id="cce_02_0354__cce_02_0236_b124918415616">application/json</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__cce_02_0236_row3500125412260"><td class="cellrowborder" valign="top" width="18.5%" headers="mcps1.3.3.4.2.5.1.1 "><p id="cce_02_0354__cce_02_0236_p105001654202618">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.249999999999998%" headers="mcps1.3.3.4.2.5.1.2 "><p id="cce_02_0354__cce_02_0236_p20500954182618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.84%" headers="mcps1.3.3.4.2.5.1.3 "><p id="cce_02_0354__cce_02_0236_p85221454684">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.410000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="cce_02_0354__cce_02_0236_p18824197845">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 on how to obtain a user token, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table1644211019"></a><a name="table1644211019"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table1644211019" frame="border" border="1" rules="all"><caption><b>Table 3 </b>NodePool structure</caption><thead align="left"><tr id="cce_02_0354__row13647211510"><th align="left" class="cellrowborder" valign="top" width="19.06%" id="mcps1.3.3.5.2.5.1.1"><p id="cce_02_0354__en-us_topic_0102499074_p2030132">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.58%" id="mcps1.3.3.5.2.5.1.2"><p id="cce_02_0354__en-us_topic_0102499074_p30222992">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.97%" id="mcps1.3.3.5.2.5.1.3"><p id="cce_02_0354__en-us_topic_0102499074_p32143248">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.39%" id="mcps1.3.3.5.2.5.1.4"><p id="cce_02_0354__en-us_topic_0102499074_p53466268">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row3648211216"><td class="cellrowborder" valign="top" width="19.06%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0354__p15681742116">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.58%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0354__p5868142216718">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0354__p7568117172114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.39%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0354__p85688772120">API type, which is fixed at <strong id="cce_02_0354__b16543142904412">NodePool</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row20802211618"><td class="cellrowborder" valign="top" width="19.06%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0354__p85682752116">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.58%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0354__p086818226719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0354__p1756887122117">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.39%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0354__p145681272214">API version, which is fixed at <strong id="cce_02_0354__b245933564415">v3</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row20809211716"><td class="cellrowborder" valign="top" width="19.06%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0354__p17569275215">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.58%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0354__p8868132213719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0354__p1334385071712"><a href="#cce_02_0354__table13456192212">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.39%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0354__p1756927132111">Metadata of the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row12484123982118"><td class="cellrowborder" valign="top" width="19.06%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0354__p75691778211">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.58%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0354__p786811226715">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0354__p1436685371011"><a href="#cce_02_0354__table620623542313">spec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.39%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0354__p11569167152115">Parameters of the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table13456192212"></a><a name="table13456192212"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table13456192212" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure of the <strong id="cce_02_0354__b158392181162">metadata</strong> field</caption><thead align="left"><tr id="cce_02_0354__row031056182217"><th align="left" class="cellrowborder" valign="top" width="19.8%" id="mcps1.3.3.6.2.5.1.1"><p id="cce_02_0354__p1621722143720">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.07%" id="mcps1.3.3.6.2.5.1.2"><p id="cce_02_0354__p921715214376">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.29%" id="mcps1.3.3.6.2.5.1.3"><p id="cce_02_0354__p15217142113719">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.84%" id="mcps1.3.3.6.2.5.1.4"><p id="cce_02_0354__p3217172118376">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row11915579512"><td class="cellrowborder" valign="top" width="19.8%" headers="mcps1.3.3.6.2.5.1.1 "><p id="cce_02_0354__p14915157855">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.07%" headers="mcps1.3.3.6.2.5.1.2 "><p id="cce_02_0354__p1540322987">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.29%" headers="mcps1.3.3.6.2.5.1.3 "><p id="cce_02_0354__p15915147656">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.84%" headers="mcps1.3.3.6.2.5.1.4 "><p id="cce_02_0354__p571578194519">Node pool name.</p>
|
|
<p id="cce_02_0354__p1371515894517">Naming rule: Enter 1 to 50 characters that starts with a lowercase letter and cannot end with a hyphen (-). Lowercase letters, digits, and hyphens (-) are allowed. The value cannot be <strong id="cce_02_0354__b147157804520">DefaultPool</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table620623542313"></a><a name="table620623542313"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table620623542313" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure of the <strong id="cce_02_0354__b1423024610378">spec</strong> field</caption><thead align="left"><tr id="cce_02_0354__row520663552315"><th align="left" class="cellrowborder" valign="top" width="18.23%" id="mcps1.3.3.7.2.5.1.1"><p id="cce_02_0354__p5998182314376">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.41%" id="mcps1.3.3.7.2.5.1.2"><p id="cce_02_0354__p1599862319377">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.83%" id="mcps1.3.3.7.2.5.1.3"><p id="cce_02_0354__p10998202353711">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.53%" id="mcps1.3.3.7.2.5.1.4"><p id="cce_02_0354__p49981123143712">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row149013351106"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p19901173518102">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p6902435191010">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p1090215354109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p172501749104818">Node pool type. If this parameter is left blank, the value <strong id="cce_02_0354__b1211834118456">vm</strong> is used by default.</p>
|
|
<ul id="cce_02_0354__ul103611814213"><li id="cce_02_0354__li6369844216"><strong id="cce_02_0354__b48881127114218">vm</strong>: ECS</li><li id="cce_02_0354__li123610811422"><strong id="cce_02_0354__b14788112984211">ElasticBMS</strong>: BMS. This value is valid in CCE Turbo cluster.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row12206153513232"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p6206135142317">nodeTemplate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p612474161018">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p13234357570"><a href="#cce_02_0354__table3150105216225">nodeTemplate</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p183191542173818">Parameters of the node pool template.</p>
|
|
<p id="cce_02_0354__p7132163872412">If <strong id="cce_02_0354__b913215386244">az </strong>is set to <strong id="cce_02_0354__b313283816249">random</strong>, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities.</p>
|
|
<div class="p" id="cce_02_0354__p19206135162314">AZs with a smaller number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. Example:<ul id="cce_02_0354__ul17620345102116"><li id="cce_02_0354__li36201445182118">Creating nodes in a node pool for the first time: Assume that AZ 1, AZ 2, and AZ 3 have available resources. These AZs have the same priority because they have no existing nodes. In this case, AZ 1 is selected by sequence to create all nodes to be added.</li><li id="cce_02_0354__li116594579212">Adding nodes to a node pool that already has nodes:<ul id="cce_02_0354__ul9304125919217"><li id="cce_02_0354__li9453545223">Assume that the node pool has 1 node in AZ 1, 3 in AZ 2, and 2 in AZ 3, and that resources in AZ 1 have been sold out. Only AZ 2 and AZ 3 are available for scaling. In this case, AZ 3 has a higher priority than AZ 2 because AZ 3 has less nodes. Therefore, all nodes to be added will be created in AZ 3.</li><li id="cce_02_0354__li98475172114">Assume that the node pool has 1 node in AZ 1, 2 in AZ 2, and 2 in AZ 3, and that resources in AZ 1 have been sold out. Only AZ 2 and AZ 3 are available for scaling. In this case, AZ 2 and AZ 3 have the same priority because they have the same number of nodes. Therefore, all nodes to be added will be created in AZ 2.</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row12206143515238"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p11206235122312">initialNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p312414417106">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p132061435132316">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p6206173582312">Expected number of nodes in this node pool. The value cannot be greater than the maximum number of nodes allowed for the cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row9206123518238"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p12061135112315">autoscaling</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p16124164114108">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p1920643502317"><a href="#cce_02_0354__table1472543502018">autoscaling</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p18206113582316">Auto scaling parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1767362873318"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p5673628163316">nodeManagement</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p10673162863312">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p16673192813314"><a href="#cce_02_0354__table978201612141">nodeManagement</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p99811242122710">Node management parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1758015984114"><td class="cellrowborder" valign="top" width="18.23%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0354__p1840734618226">customSecurityGroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0354__p34081461226">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.83%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0354__p4408146102213">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.53%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0354__p14088461221">Custom security group settings for a node pool. New nodes scaled out in a node pool can be bound to a specified security group.</p>
|
|
<ul id="cce_02_0354__ul11409134619225"><li id="cce_02_0354__li240964672218">Specifying no security group ID will add the new nodes to the default security group of the worker nodes.</li><li id="cce_02_0354__li15409174616221">Specifying a valid security group ID will put new nodes in that security group.</li><li id="cce_02_0354__li140919464229">When specifying a security group, do not modify the rules of the port on which CCE running depends.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table3150105216225"></a><a name="table3150105216225"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table3150105216225" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Data structure of the <strong id="cce_02_0354__b51551037171219">nodeTemplate </strong>field</caption><thead align="left"><tr id="cce_02_0354__row6150125212219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="cce_02_0354__p6731192632411">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.939999999999998%" id="mcps1.3.3.8.2.5.1.2"><p id="cce_02_0354__p1373132617245">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.06%" id="mcps1.3.3.8.2.5.1.3"><p id="cce_02_0354__p27311226112410">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49%" id="mcps1.3.3.8.2.5.1.4"><p id="cce_02_0354__p15746192612248">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row61507522224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p333015583253">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p18150115219222">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p131508522226">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p71501352102211">Node specifications. For details, see the description of the <strong id="cce_02_0354__b0244615535">flavorRef</strong> parameter in <a href="https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212668.html" target="_blank" rel="noopener noreferrer">Creating an ECS</a>.</p>
|
|
<div class="note" id="cce_02_0354__note148961115125815"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p1389415451812">When adding a BMS node, check whether the flavor of the node to be added supports local disks. If local disks are not supported, add at least one 100 GB EVS disk.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row12150165217223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p181506529221">az</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p197861438122719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p111505520222">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p151501252102216">AZ of the node. For details, see the description of the <strong id="cce_02_0354__b214031310212">availability_zone</strong> parameter in <a href="https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212668.html" target="_blank" rel="noopener noreferrer">Creating an ECS</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1086691044613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p17655181744611">os</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p165561734611">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p1565591717468">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><ul id="cce_02_0354__ul59530326469"><li id="cce_02_0354__cce_02_0242_li159011525204117">Nodes in clusters of Kubernetes v1.13, v1.15, v1.17, v1.19, v1.21, v1.23, or v1.25 support EulerOS 2.5.</li><li id="cce_02_0354__cce_02_0242_li134373416455">Nodes in clusters of Kubernetes v1.19 or later support EulerOS 2.9.</li><li id="cce_02_0354__cce_02_0242_li12414175604611">Nodes in clusters of Kubernetes v1.25 or later support Ubuntu 22.04 and HCE OS 2.0.</li><li id="cce_02_0354__cce_02_0242_li20632857162017">Nodes using <strong id="cce_02_0354__cce_02_0242_b1085985314">kata</strong> runtime in CCE Turbo cluster support EulerOS 2.9.</li></ul>
|
|
<div class="note" id="cce_02_0354__note126901719204711"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p869011915478">If the <strong id="cce_02_0354__b569031954717">alpha.cce/NodeImageID</strong> parameter in <strong id="cce_02_0354__b1569019193473">extendParam</strong> is specified during node creation, you do not need to set this field.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1150165232219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p0393194582610">login</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p8150105252219">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p1715065215226"><a href="#cce_02_0354__table10946114617286">login</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p41509523227">Node login mode, which can be key pair or password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row111501952182214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p0677490262">rootVolume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p51501552132210">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p16150052162211"><a href="#cce_02_0354__table1359314517">Volume</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p15150125219222">System disk parameters of the node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1515016528222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p1859810527263">dataVolumes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p161501852152218">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p13150652142210">Array of <a href="#cce_02_0354__table1359314517">Volume</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p1915035219225">Data disk parameters of the node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row14181122810583"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p133081775154">storage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p130816761515">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p1530817771510"><a href="#cce_02_0354__en-us_topic_0000001417516392_request_Storage">Storage</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p3308137201515">Disk initialization management parameter.</p>
|
|
<p id="cce_02_0354__p153081878157">This parameter is complex to configure. For details, see <a href="node_storage_example.html">Attaching Disks to a Node</a>.</p>
|
|
<p id="cce_02_0354__p930817781513">If this parameter retains its default, disks are managed based on the DockerLVMConfigOverride (discarded) parameter in extendParam. This parameter is supported by clusters of version 1.15.11 and later.</p>
|
|
<div class="note" id="cce_02_0354__note1230810715154"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p193091078153">If a node specification involves local disks and EVS disks at the same time, do not retain the default value of this parameter to prevent unexpected disk partitions.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1449422112817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p13629105762613">publicIP</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p3150135292215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p131501952192211"><a href="#cce_02_0354__table139179586343">publicIP</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p51501752122215">EIP used by the node to access public networks.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1970917914119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p137091919419">billingMode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p1971010984118">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p12710169194115">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p558875914438">Billing mode of a node.</p>
|
|
<div class="note" id="cce_02_0354__note0702131124412"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p77026184417">This field is not supported for the current version.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row133895911576"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p13898935713">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p1338916913573">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p938920995713">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p9266154419131">Number of nodes to be created in a batch. The value must be a positive integer greater than or equal to 1 and less than or equal to the defined limit. This field can be set to <strong id="cce_02_0354__b126644401319">0</strong> for a node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row04202261820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p642012610210">extendParam</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p194201026527">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p6420182613211"><a href="#cce_02_0354__table153332427337">extendParam</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p1038263410216">Extended parameter. Format: Key-value pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row550282612218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p145037262222">userTags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p45031426132210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p9503202618229">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p7534153516413">Tag of a VM.</p>
|
|
<p id="cce_02_0354__p336932192717">The format is key-value pair. The number of key-value pairs cannot exceed 20.</p>
|
|
<ul id="cce_02_0354__ul89974419513"><li id="cce_02_0354__li87155195811"><strong id="cce_02_0354__b17052059141212">Key</strong>: Only letters, digits, hyphens (-), underscores (_), and at signs (@) are supported.</li><li id="cce_02_0354__li59971441358"><strong id="cce_02_0354__b925644861514">Value</strong>: Only letters, digits, hyphens (-), underscores (_), and at signs (@) are supported.</li></ul>
|
|
<p id="cce_02_0354__p109975417513">Example:</p>
|
|
<pre class="screen" id="cce_02_0354__screen1616611271311">"userTags": [
|
|
{
|
|
"key": "tag1",
|
|
"value": "aaaa"
|
|
},
|
|
{
|
|
"key": "tag2",
|
|
"value": "bbbb"
|
|
}
|
|
]</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row15875955114618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p587515516469">k8sTags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p687685520467">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p1487655534616">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p1932218501944">Tag of a Kubernetes node.</p>
|
|
<p id="cce_02_0354__p5876455194611">The format is key-value pair. The number of key-value pairs cannot exceed 20.</p>
|
|
<ul id="cce_02_0354__ul102539423175"><li id="cce_02_0354__li18253184211714"><strong id="cce_02_0354__b26119351759">Key</strong>: Enter 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain can be prefixed to a key and contain a maximum of 253 characters. Example DNS subdomain: example.com/my-key</li><li id="cce_02_0354__li444712449171"><strong id="cce_02_0354__b1541015592398">Value</strong>: The value can be left blank or a string of 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed in the character string.</li></ul>
|
|
<p id="cce_02_0354__p1644615065413">Example:</p>
|
|
<pre class="screen" id="cce_02_0354__screen851218415616">"k8sTags": {
|
|
"key": "value"
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row17268125919467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p1026914596460">taints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p1926945954612">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p1612932717412">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><div class="p" id="cce_02_0354__p81066511617">You can add taints to created nodes to configure anti-affinity. Each taint contains the following parameters:<ul id="cce_02_0354__ul17274222121015"><li id="cce_02_0354__li227482216106"><strong id="cce_02_0354__b14101664369">Key</strong>: A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.</li><li id="cce_02_0354__li7274112241020"><strong id="cce_02_0354__b1538010103366">Value</strong>: A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).</li><li id="cce_02_0354__li1655171215812"><strong id="cce_02_0354__b23151718366">Effect</strong>: Available options are <strong id="cce_02_0354__b13216173361">NoSchedule</strong>, <strong id="cce_02_0354__b1933201719369">PreferNoSchedule</strong>, and <strong id="cce_02_0354__b3345173368">NoExecute</strong>.</li></ul>
|
|
</div>
|
|
<p id="cce_02_0354__p98321812817">Example:</p>
|
|
<pre class="screen" id="cce_02_0354__screen19127268812">"taints": [{
|
|
"key": "status",
|
|
"value": "unavailable",
|
|
"effect": "NoSchedule"
|
|
}, {
|
|
"key": "looks",
|
|
"value": "bad",
|
|
"effect": "NoSchedule"
|
|
}]</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row172637556198"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p226495510194">nodeNicSpec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p426411554194">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p10264165541912"><a href="#cce_02_0354__table322873620312">nodeNicSpec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p18264185518196">Description about the node NIC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1622812754614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0354__p523884364813">runtime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0354__p13238743194811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.06%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0354__p15238243164815"><a href="#cce_02_0354__table163721555105015">Runtime</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0354__p62213390326">Container runtime. The default value is <strong id="cce_02_0354__b17221153917321">docker</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table10946114617286"></a><a name="table10946114617286"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table10946114617286" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Data structure of the <strong id="cce_02_0354__b12392978582">login</strong> field</caption><thead align="left"><tr id="cce_02_0354__row094684614289"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.9.2.5.1.1"><p id="cce_02_0354__p1544713542283">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.558823529411764%" id="mcps1.3.3.9.2.5.1.2"><p id="cce_02_0354__p8447155482810">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.813725490196077%" id="mcps1.3.3.9.2.5.1.3"><p id="cce_02_0354__p0447145472811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.3.9.2.5.1.4"><p id="cce_02_0354__p17447254132813">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row69467461289"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.9.2.5.1.1 "><p id="cce_02_0354__p994654602818">sshKey</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.558823529411764%" headers="mcps1.3.3.9.2.5.1.2 "><p id="cce_02_0354__p1694654614287">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.813725490196077%" headers="mcps1.3.3.9.2.5.1.3 "><p id="cce_02_0354__p2094614692816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.9.2.5.1.4 "><p id="cce_02_0354__p5946104616288">Name of the key pair used for node login. For details on how to create a key pair, see <a href="cce_02_0101.html">Creating a Key Pair</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row31241526104213"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.9.2.5.1.1 "><p id="cce_02_0354__p2124826124214">userPassword</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.558823529411764%" headers="mcps1.3.3.9.2.5.1.2 "><p id="cce_02_0354__p18124192684210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.813725490196077%" headers="mcps1.3.3.9.2.5.1.3 "><p id="cce_02_0354__p1912414264428">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.9.2.5.1.4 "><p id="cce_02_0354__p059411218363">Password used for node login.</p>
|
|
<div class="note" id="cce_02_0354__note19491185043612"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p19491115003619">This field is not supported for the current version.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table1359314517"></a><a name="table1359314517"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table1359314517" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Data structure of the <strong id="cce_02_0354__b17617317452">Volume</strong> field</caption><thead align="left"><tr id="cce_02_0354__row86123184512"><th align="left" class="cellrowborder" valign="top" width="15.840000000000002%" id="mcps1.3.3.10.2.5.1.1"><p id="cce_02_0354__p5603104518">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.32%" id="mcps1.3.3.10.2.5.1.2"><p id="cce_02_0354__p335493817453">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.620000000000001%" id="mcps1.3.3.10.2.5.1.3"><p id="cce_02_0354__p146532454">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="52.22%" id="mcps1.3.3.10.2.5.1.4"><p id="cce_02_0354__p765334510">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row263118285255"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.3.10.2.5.1.1 "><p id="cce_02_0354__p4631728142516">volumetype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.3.10.2.5.1.2 "><p id="cce_02_0354__p235483818451">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.620000000000001%" headers="mcps1.3.3.10.2.5.1.3 "><p id="cce_02_0354__p463115285250">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.22%" headers="mcps1.3.3.10.2.5.1.4 "><p id="cce_02_0354__p35816473259">Disk type. For details, see the description of <strong id="cce_02_0354__b185814710254">root_volume</strong> in<span id="cce_02_0354__ph13428221161220"> </span><a href="https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212668.html" target="_blank" rel="noopener noreferrer">Creating an ECS</a>.</p>
|
|
<ul id="cce_02_0354__ul1458114792517"><li id="cce_02_0354__li155824732518"><strong id="cce_02_0354__b1558194742518">SATA</strong>: common I/O disk type.</li><li id="cce_02_0354__li1159144715251"><strong id="cce_02_0354__b859547132512">SAS</strong>: high I/O disk type.</li><li id="cce_02_0354__li459847122511"><strong id="cce_02_0354__b17590476252">SSD</strong>: ultra-high I/O disk type.</li><li id="cce_02_0354__li15823164720306"><strong id="cce_02_0354__b227019548336">GPSSD</strong>: general-purpose SSD.</li><li id="cce_02_0354__li5625204512311"><strong id="cce_02_0354__b129921558193319">ESSD</strong>: extreme SSD.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row19703174511"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.3.10.2.5.1.1 "><p id="cce_02_0354__p1971731452">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.3.10.2.5.1.2 "><p id="cce_02_0354__p1835412386451">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.620000000000001%" headers="mcps1.3.3.10.2.5.1.3 "><p id="cce_02_0354__p2071304513">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.22%" headers="mcps1.3.3.10.2.5.1.4 "><p id="cce_02_0354__p19403358122615">Disk size, in GB.</p>
|
|
<p id="cce_02_0354__p45941948183318">Value range for system disks: 40 to 1024. Value range for data disks: 100 to 32768.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row193481136201717"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.3.10.2.5.1.1 "><p id="cce_02_0354__p654514396288">extendParam</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.3.10.2.5.1.2 "><p id="cce_02_0354__p95451239122813">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.620000000000001%" headers="mcps1.3.3.10.2.5.1.3 "><p id="cce_02_0354__p854653992810">Map<String,Object></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.22%" headers="mcps1.3.3.10.2.5.1.4 "><p id="cce_02_0354__p15461339142814">Disk extension parameter. For details, see the description of the extendparam parameter in<span id="cce_02_0354__ph6613201513129"> </span><a href="https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212668.html" target="_blank" rel="noopener noreferrer">Creating an ECS</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row18344936121710"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.3.10.2.5.1.1 "><p id="cce_02_0354__p2340611183010">hw:passthrough</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.3.10.2.5.1.2 "><p id="cce_02_0354__p2340911193014">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.620000000000001%" headers="mcps1.3.3.10.2.5.1.3 "><p id="cce_02_0354__p193407112300">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.22%" headers="mcps1.3.3.10.2.5.1.4 "><ul id="cce_02_0354__ul15612268512"><li id="cce_02_0354__li185692695112">Pay attention to this field if your ECS is SDI-compliant. If the value of this field is <strong id="cce_02_0354__b19565262516">true</strong>, the created disk is of the SCSI type.</li><li id="cce_02_0354__li105612616518">If the node pool type is <strong id="cce_02_0354__b45615264512">ElasticBMS</strong>, this field must be set to <strong id="cce_02_0354__b0561526165120">true</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row20342936151718"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.3.10.2.5.1.1 "><p id="cce_02_0354__p75131847318">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.32%" headers="mcps1.3.3.10.2.5.1.2 "><p id="cce_02_0354__p851314419317">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.620000000000001%" headers="mcps1.3.3.10.2.5.1.3 "><p id="cce_02_0354__p75131443316"><a href="#cce_02_0354__table15849123210415">dataVolumeMetadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.22%" headers="mcps1.3.3.10.2.5.1.4 "><p id="cce_02_0354__p751394123110">Data disk encryption information. This parameter is mandatory only when the data disk of the node to be created needs to be encrypted.</p>
|
|
<p id="cce_02_0354__p1851319443110">If data disks are created using a data disk image, this parameter cannot be used.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table15849123210415"></a><a name="table15849123210415"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table15849123210415" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Data structure of the <strong id="cce_02_0354__b176641046152418">dataVolumeMetadata</strong> field</caption><thead align="left"><tr id="cce_02_0354__row1784913210410"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.11.2.5.1.1"><p id="cce_02_0354__p12972133134115">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.11.2.5.1.2"><p id="cce_02_0354__p49721233104115">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.11.2.5.1.3"><p id="cce_02_0354__p2097293314110">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49%" id="mcps1.3.3.11.2.5.1.4"><p id="cce_02_0354__p397218336413">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row158499321747"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.11.2.5.1.1 "><p id="cce_02_0354__p18491132248">__system__encrypted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.11.2.5.1.2 "><p id="cce_02_0354__p1184993212420">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.11.2.5.1.3 "><p id="cce_02_0354__p118501732846">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.11.2.5.1.4 "><p id="cce_02_0354__p1171914515411">Whether an EVS disk is encrypted.</p>
|
|
<ul id="cce_02_0354__ul871919456413"><li id="cce_02_0354__li1371974504110"><strong id="cce_02_0354__b13719445194114">'0'</strong>: not encrypted</li><li id="cce_02_0354__li5719144554111"><strong id="cce_02_0354__b1771920456418">'1'</strong>: encrypted</li></ul>
|
|
<p id="cce_02_0354__p1571974510411">If this parameter is not specified, EVS disks will not be encrypted by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row285023214414"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.11.2.5.1.1 "><p id="cce_02_0354__p11850932746">__system__cmkid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.11.2.5.1.2 "><p id="cce_02_0354__p178508324416">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.11.2.5.1.3 "><p id="cce_02_0354__p128507321646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.11.2.5.1.4 "><p id="cce_02_0354__p477976184216">CMK ID used for encryption. This parameter is used with <strong id="cce_02_0354__b137799614424">__system__encrypted</strong>.</p>
|
|
<div class="note" id="cce_02_0354__note6898170784"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p168983013813">You can obtain the ID through HTTPS requests. For details, see <a href="https://docs.otc.t-systems.com/en-us/api/kms/kms_02_0017.html" target="_blank" rel="noopener noreferrer">Querying the List of CMKs</a>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table139179586343"></a><a name="table139179586343"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table139179586343" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Data structure of the <strong id="cce_02_0354__b194578158812">publicIP</strong> field</caption><thead align="left"><tr id="cce_02_0354__row16917115833416"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.1"><p id="cce_02_0354__p147361906402">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.12.2.5.1.2"><p id="cce_02_0354__p773630144015">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.12.2.5.1.3"><p id="cce_02_0354__p675120144011">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49%" id="mcps1.3.3.12.2.5.1.4"><p id="cce_02_0354__p77514064014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row139177581341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="cce_02_0354__p79179585341">ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.12.2.5.1.2 "><p id="cce_02_0354__p159172586348">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.12.2.5.1.3 "><p id="cce_02_0354__p69201306371">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.12.2.5.1.4 "><p id="cce_02_0354__p159171586349">List of IDs of the existing EIPs.</p>
|
|
<div class="notice" id="cce_02_0354__note1048219251376"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="cce_02_0354__p14831251077">If <strong id="cce_02_0354__b164005813575">ids</strong> is set, you do not need to set <strong id="cce_02_0354__b74015865711">count</strong> and <strong id="cce_02_0354__b94085865712">eip</strong>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row291745883414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="cce_02_0354__p1691715585341">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.12.2.5.1.2 "><p id="cce_02_0354__p1091755873415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.12.2.5.1.3 "><p id="cce_02_0354__p15917358153417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.12.2.5.1.4 "><p id="cce_02_0354__p8917185813344">Number of EIPs to be dynamically created.</p>
|
|
<div class="notice" id="cce_02_0354__note1619810214816"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="cce_02_0354__p720116214812">The <strong id="cce_02_0354__b444155895713">count</strong> and <strong id="cce_02_0354__b1544195819572">eip</strong> parameters must be set simultaneously.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row14917155811345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="cce_02_0354__p169171958153418">eip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.12.2.5.1.2 "><p id="cce_02_0354__p9917135853415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.12.2.5.1.3 "><p id="cce_02_0354__p1491785863418"><a href="#cce_02_0354__table135065714419">eip</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.12.2.5.1.4 "><p id="cce_02_0354__p20917105813410">EIP.</p>
|
|
<div class="notice" id="cce_02_0354__note1160713522814"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="cce_02_0354__p186191852988">The <strong id="cce_02_0354__b4485585571">count</strong> and <strong id="cce_02_0354__b194845815716">eip</strong> parameters must be set simultaneously.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table135065714419"></a><a name="table135065714419"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table135065714419" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Data structure of the <strong id="cce_02_0354__b186125611913">eip</strong> field</caption><thead align="left"><tr id="cce_02_0354__row4350185774110"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.13.2.5.1.1"><p id="cce_02_0354__p162565424423">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.13.2.5.1.2"><p id="cce_02_0354__p12566427429">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.13.2.5.1.3"><p id="cce_02_0354__p727315425421">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49%" id="mcps1.3.3.13.2.5.1.4"><p id="cce_02_0354__p4273104254210">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row10350145754113"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.13.2.5.1.1 "><p id="cce_02_0354__p835013575413">iptype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.13.2.5.1.2 "><p id="cce_02_0354__p2035010573419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.13.2.5.1.3 "><p id="cce_02_0354__p16350205710419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.13.2.5.1.4 "><p id="cce_02_0354__p2035016576417">Type of the EIP.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row14350155784118"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.13.2.5.1.1 "><p id="cce_02_0354__p5350165719413">bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.13.2.5.1.2 "><p id="cce_02_0354__p14350105734113">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.13.2.5.1.3 "><p id="cce_02_0354__p1035013570419"><a href="#cce_02_0354__table16381121974213">bandwidth</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49%" headers="mcps1.3.3.13.2.5.1.4 "><p id="cce_02_0354__p15350757104113">Bandwidth parameters of the EIP.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table16381121974213"></a><a name="table16381121974213"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table16381121974213" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Data structure of the <strong id="cce_02_0354__b13125204351015">bandwidth</strong> field</caption><thead align="left"><tr id="cce_02_0354__row638121920426"><th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.3.14.2.5.1.1"><p id="cce_02_0354__p3460174310425">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.131313131313133%" id="mcps1.3.3.14.2.5.1.2"><p id="cce_02_0354__p946020432428">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.171717171717173%" id="mcps1.3.3.14.2.5.1.3"><p id="cce_02_0354__p164601943134214">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.484848484848484%" id="mcps1.3.3.14.2.5.1.4"><p id="cce_02_0354__p1646014312426">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row13811519104217"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.14.2.5.1.1 "><p id="cce_02_0354__p538131914211">chargemode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.131313131313133%" headers="mcps1.3.3.14.2.5.1.2 "><p id="cce_02_0354__p1438113199428">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.171717171717173%" headers="mcps1.3.3.14.2.5.1.3 "><p id="cce_02_0354__p6381919144212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.484848484848484%" headers="mcps1.3.3.14.2.5.1.4 "><p id="cce_02_0354__p20108654111410">Bandwidth billing mode.</p>
|
|
<ul id="cce_02_0354__ul11266195881415"><li id="cce_02_0354__li192665587147">If this parameter is not carried, the node is billed by bandwidth.</li><li id="cce_02_0354__li1926765819141">If this parameter is carried but is left blank, the node is billed by bandwidth.</li><li id="cce_02_0354__li132672587141">If this parameter is set to <strong id="cce_02_0354__b321210217596">traffic</strong>, the node is billed by traffic.</li><li id="cce_02_0354__li9267105819147">If this parameter is set to another value, node creation will fail.<div class="note" id="cce_02_0354__note160816181315"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="cce_02_0354__ul1362018188311"><li id="cce_02_0354__li36372178389">Billed by bandwidth: The billing will be based on the data transfer rate (in Mbps) of public networks. If your bandwidth usage is higher than 10%, this billing mode is recommended.</li><li id="cce_02_0354__li1244042010382">Billed by traffic: The billing will be based on the total traffic (in GB) transferred on public networks. If your bandwidth usage is lower than 10%, this billing mode is recommended.</li></ul>
|
|
</div></div>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row938121964218"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.14.2.5.1.1 "><p id="cce_02_0354__p12381121914421">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.131313131313133%" headers="mcps1.3.3.14.2.5.1.2 "><p id="cce_02_0354__p43813193421">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.171717171717173%" headers="mcps1.3.3.14.2.5.1.3 "><p id="cce_02_0354__p13811519124216">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.484848484848484%" headers="mcps1.3.3.14.2.5.1.4 "><p id="cce_02_0354__p638111195428">Bandwidth size.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row8381121911425"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.14.2.5.1.1 "><p id="cce_02_0354__p15381219154214">sharetype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.131313131313133%" headers="mcps1.3.3.14.2.5.1.2 "><p id="cce_02_0354__p14381101919423">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.171717171717173%" headers="mcps1.3.3.14.2.5.1.3 "><p id="cce_02_0354__p14381919174213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.484848484848484%" headers="mcps1.3.3.14.2.5.1.4 "><p id="cce_02_0354__p65751022144316">Bandwidth sharing type.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table153332427337"></a><a name="table153332427337"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table153332427337" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Data structure of the spec/extendParam field</caption><thead align="left"><tr id="cce_02_0354__row1333194263315"><th align="left" class="cellrowborder" valign="top" width="20.15686274509804%" id="mcps1.3.3.15.2.5.1.1"><p id="cce_02_0354__p1833364243316">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.931372549019606%" id="mcps1.3.3.15.2.5.1.2"><p id="cce_02_0354__p173331842193317">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.892156862745098%" id="mcps1.3.3.15.2.5.1.3"><p id="cce_02_0354__p73331942143320">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.3.15.2.5.1.4"><p id="cce_02_0354__p93331942183314">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row1941456173613"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p594212564360">maxPods</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p149421756133614">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p1094255614368">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p73419192371">Maximum number of pods on the node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1541812231496"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p2418192319916">agency_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p1934334611915">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p113435461493">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p3419323992">Specifies the IAM agency name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row9333104293318"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p203338425338">alpha.cce/preInstall</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p1033318426332">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p15333164220338">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p3333154263315">Script required before the installation.</p>
|
|
<div class="note" id="cce_02_0354__note137011215354"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p270172113358">The input value must be encoded using Base64. (Command: <strong id="cce_02_0354__b10861022802">echo -n "<em id="cce_02_0354__i155831735103">Content to be encoded</em>" | base64</strong>)</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row5367951183319"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p173671051153311">alpha.cce/postInstall</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p163671751203313">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p103676513337">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p53689516336">Script required after the installation.</p>
|
|
<div class="note" id="cce_02_0354__note19617843103510"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p1161734320357">The input value must be encoded using Base64. (Command: <strong id="cce_02_0354__b1169154420012">echo -n "<em id="cce_02_0354__i95364410019">Content to be encoded</em>" | base64</strong>)</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1455373318517"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p125541033155112">alpha.cce/NodeImageID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p18554133165110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p5554153320517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p25343288481">Mandatory if a custom image is used in creating a bare metal node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row163711919521"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p93712193523">DockerLVMConfigOverride</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p737161995213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p437151955211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p159432713497">Docker data disk configuration item. (This parameter has been discarded. Use the <strong id="cce_02_0354__b994574314813">storage</strong> field instead.)The following is an example configuration:</p>
|
|
<pre class="screen" id="cce_02_0354__screen1959482716492">"DockerLVMConfigOverride":"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear"</pre>
|
|
<p id="cce_02_0354__p10594192714916">In this example:</p>
|
|
<ul id="cce_02_0354__ul11594182764917"><li id="cce_02_0354__li1859416272495"><strong id="cce_02_0354__b259510276497">userLV</strong>: size of the user space, for example, <strong id="cce_02_0354__b95959279498">vgpaas/20%VG</strong>.</li><li id="cce_02_0354__li17595727144919"><strong id="cce_02_0354__b1559510272493">userPath</strong>: mount path of the user space, for example, <strong id="cce_02_0354__b959572717492">/home/wqt-test</strong>.</li><li id="cce_02_0354__li659552724918"><strong id="cce_02_0354__b1559512711496">diskType</strong>: disk type. Currently, only the <strong id="cce_02_0354__b17595152710498">evs</strong>, <strong id="cce_02_0354__b859515272492">hdd</strong>, and <strong id="cce_02_0354__b155950277496">ssd</strong> are supported.</li><li id="cce_02_0354__li1459552718493"><strong id="cce_02_0354__b18595152719499">lvType</strong>: type of a logic volume. Currently, the value can be <strong id="cce_02_0354__b059515275492">linear</strong> or <strong id="cce_02_0354__b17595122764916">striped</strong>.</li><li id="cce_02_0354__li159542712499"><strong id="cce_02_0354__b159532714913">dockerThinpool</strong>: Docker space size, for example, <strong id="cce_02_0354__b16595132710491">vgpaas/60%VG</strong>.</li><li id="cce_02_0354__li10427163074917"><strong id="cce_02_0354__b16595122710499">kubernetesLV</strong>: kubelet space size, for example, <strong id="cce_02_0354__b159510275494">vgpaas/20%VG</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1686891712359"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p72717235354">publicKey</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p8869917153510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p6869161753514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p17869191718359">Public key of the node. Used when creating a key pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row19397163282112"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p639893222117">nicMultiqueue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p1065417472214">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p96541741228">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p1943193516237">ENI queue settings, the default setting is:</p>
|
|
<pre class="screen" id="cce_02_0354__screen620622311237">"[{\"queue\":4}]"</pre>
|
|
<ul id="cce_02_0354__ul109mcpsimp"><li id="cce_02_0354__li110mcpsimp"><strong id="cce_02_0354__b197871928171619">queue</strong> indicates the number of ENI queues.</li><li id="cce_02_0354__li111mcpsimp">Supported proportions are {"1":128, "2":92, "4":92, "8":32, "16":16, "28":9}. That is, there is one queue, a maximum of 128 ENIs can be bound. If there are two queues, a maximum of 92 ENIs can be bound.</li><li id="cce_02_0354__li112mcpsimp">A larger number of ENI queues indicates higher performance but fewer ENIs can be bound. The queue settings cannot be changed after the node pool is created.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row16314103512115"><td class="cellrowborder" valign="top" width="20.15686274509804%" headers="mcps1.3.3.15.2.5.1.1 "><p id="cce_02_0354__p4314133518219">nicThreshold</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.931372549019606%" headers="mcps1.3.3.15.2.5.1.2 "><p id="cce_02_0354__p152167692211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.892156862745098%" headers="mcps1.3.3.15.2.5.1.3 "><p id="cce_02_0354__p621612619228">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.15.2.5.1.4 "><p id="cce_02_0354__p3365125792310">ENI pre-binding thresholds, the default setting is:</p>
|
|
<pre class="screen" id="cce_02_0354__screen5402015241">"0.3:0.6"</pre>
|
|
<ul id="cce_02_0354__ul17897111812248"><li id="cce_02_0354__li14901328141612">The first decimal place indicates the low threshold. Formula: Minimum number of pre-bound ENIs = Min (128 x Low threshold, Maximum number of ENIs that can be bound to the queue)</li><li id="cce_02_0354__li1090162820165">The second decimal place indicates the high threshold. Formula: Maximum number of pre-bound ENIs = Min (128 x High threshold, Maximum number of ENIs that can be bound to the queue)</li><li id="cce_02_0354__li37653543614">The high and low thresholds of the number of pre-bound ENIs are restricted by the maximum number of ENIs that can be bound to a queue.</li><li id="cce_02_0354__li13125145151715">ENIs bound to a BMS node = Number of ENIs currently used by pods + Number of pre-bound ENIs</li><li id="cce_02_0354__li20460418121713">CCE keeps binding ENIs to a BMS node to ensure that the minimum number of ENIs is always reached. (Min. pre-bound ENIs ≤ Number of pre-bound ENIs + Number of ENIs currently used by pods)</li><li id="cce_02_0354__li1379792861712">At every 2 minutes, CCE releases ENIs pre-bound to a BMS node to ensure that the maximum number of ENIs will not be exceeded. (Max. pre-bound ENIs ≥ Number of pre-bound ENIs + Number of ENIs currently used by pods)</li><li id="cce_02_0354__li189032821611">Both the thresholds are one-decimal-place values ranging from 0.0 to 1.0. The low threshold must be smaller than or equal to the high one.</li><li id="cce_02_0354__li490172814167">This field can be configured only for BMS nodes in a CCE Turbo cluster.</li><li id="cce_02_0354__li179022851620">Pre-binding ENIs can speed up workload creation but occupies IP addresses.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table322873620312"></a><a name="table322873620312"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table322873620312" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Data structure of the nodeNicSpec field</caption><thead align="left"><tr id="cce_02_0354__row132296364316"><th align="left" class="cellrowborder" valign="top" width="18.970588235294116%" id="mcps1.3.3.16.2.5.1.1"><p id="cce_02_0354__p622943603116">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.558823529411764%" id="mcps1.3.3.16.2.5.1.2"><p id="cce_02_0354__p42290361314">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.11764705882353%" id="mcps1.3.3.16.2.5.1.3"><p id="cce_02_0354__p11229193612317">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.35294117647059%" id="mcps1.3.3.16.2.5.1.4"><p id="cce_02_0354__p9229136163117">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row3229193616310"><td class="cellrowborder" valign="top" width="18.970588235294116%" headers="mcps1.3.3.16.2.5.1.1 "><p id="cce_02_0354__p20278134019444">primaryNic</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.558823529411764%" headers="mcps1.3.3.16.2.5.1.2 "><p id="cce_02_0354__p4277340184413">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.11764705882353%" headers="mcps1.3.3.16.2.5.1.3 "><p id="cce_02_0354__p3276124012443"><a href="#cce_02_0354__request_NicSpec">primaryNic</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.35294117647059%" headers="mcps1.3.3.16.2.5.1.4 "><p id="cce_02_0354__p327417407445">Description about the primary NIC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row329913558199"><td class="cellrowborder" valign="top" width="18.970588235294116%" headers="mcps1.3.3.16.2.5.1.1 "><p id="cce_02_0354__p108741930803">extNics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.558823529411764%" headers="mcps1.3.3.16.2.5.1.2 "><p id="cce_02_0354__p178747303018">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.11764705882353%" headers="mcps1.3.3.16.2.5.1.3 "><p id="cce_02_0354__p1027523918313">Array of <a href="#cce_02_0354__request_NicSpec">extNics</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.35294117647059%" headers="mcps1.3.3.16.2.5.1.4 "><p id="cce_02_0354__p18670581202">Extension NIC.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__request_NicSpec"></a><a name="request_NicSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__request_NicSpec" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Data structure of the primaryNic/extNics field</caption><thead align="left"><tr id="cce_02_0354__row123919381733"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.17.2.5.1.1"><p id="cce_02_0354__p1327510391739">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.17.2.5.1.2"><p id="cce_02_0354__p1927618399312">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.17.2.5.1.3"><p id="cce_02_0354__p42761539135">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.17.2.5.1.4"><p id="cce_02_0354__p162765394310">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row2039116387315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.1 "><p id="cce_02_0354__p132761639537">subnetId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.2 "><p id="cce_02_0354__p4276173919316">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.3 "><p id="cce_02_0354__p1327619391634">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.17.2.5.1.4 "><p id="cce_02_0354__p182761439639">Network ID of the subnet to which the NIC belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row13911938635"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.1 "><p id="cce_02_0354__p202763398314">fixedIps</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.2 "><p id="cce_02_0354__p14276139731">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.3 "><p id="cce_02_0354__p2027663919314">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.17.2.5.1.4 "><p id="cce_02_0354__p12276739235">The IP address of the primary NIC is specified by <strong id="cce_02_0354__b427617394314">fixedIps</strong>. The number of IP addresses cannot be greater than the number of created nodes. <strong id="cce_02_0354__b4276339331">fixedIps</strong> and <strong id="cce_02_0354__b5276439737">ipBlock</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row739143811318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.1 "><p id="cce_02_0354__p1427663918320">ipBlock</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.2 "><p id="cce_02_0354__p182767391632">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.17.2.5.1.3 "><p id="cce_02_0354__p2276739130">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.17.2.5.1.4 "><p id="cce_02_0354__p102761339239">CIDR format of the IP address segment. The IP address of the created node falls in this IP address segment. <strong id="cce_02_0354__b162763391131">fixedIps</strong> and <strong id="cce_02_0354__b2276139433">ipBlock</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table1472543502018"></a><a name="table1472543502018"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table1472543502018" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Data structure of the <strong id="cce_02_0354__b118713114417">autoscaling</strong> field</caption><thead align="left"><tr id="cce_02_0354__row574220353207"><th align="left" class="cellrowborder" valign="top" width="18.888111188881112%" id="mcps1.3.3.18.2.5.1.1"><p id="cce_02_0354__p850774303711">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.438756124387561%" id="mcps1.3.3.18.2.5.1.2"><p id="cce_02_0354__p550754303712">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.807619238076192%" id="mcps1.3.3.18.2.5.1.3"><p id="cce_02_0354__p950724313718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.86551344865513%" id="mcps1.3.3.18.2.5.1.4"><p id="cce_02_0354__p1050764311377">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row14742113519208"><td class="cellrowborder" valign="top" width="18.888111188881112%" headers="mcps1.3.3.18.2.5.1.1 "><p id="cce_02_0354__p13757103512202">enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.438756124387561%" headers="mcps1.3.3.18.2.5.1.2 "><p id="cce_02_0354__p1296323118192">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.807619238076192%" headers="mcps1.3.3.18.2.5.1.3 "><p id="cce_02_0354__p19773103519202">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.86551344865513%" headers="mcps1.3.3.18.2.5.1.4 "><p id="cce_02_0354__p1077323532019">Whether to enable auto scaling.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row33071322119"><td class="cellrowborder" valign="top" width="18.888111188881112%" headers="mcps1.3.3.18.2.5.1.1 "><p id="cce_02_0354__p143071138211">minNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.438756124387561%" headers="mcps1.3.3.18.2.5.1.2 "><p id="cce_02_0354__p1696383161914">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.807619238076192%" headers="mcps1.3.3.18.2.5.1.3 "><p id="cce_02_0354__p730723142112">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.86551344865513%" headers="mcps1.3.3.18.2.5.1.4 "><p id="cce_02_0354__p9307123182115">Minimum number of nodes after a scale-down if auto scaling is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row264916692110"><td class="cellrowborder" valign="top" width="18.888111188881112%" headers="mcps1.3.3.18.2.5.1.1 "><p id="cce_02_0354__p564956102116">maxNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.438756124387561%" headers="mcps1.3.3.18.2.5.1.2 "><p id="cce_02_0354__p13963183181911">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.807619238076192%" headers="mcps1.3.3.18.2.5.1.3 "><p id="cce_02_0354__p1964956122118">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.86551344865513%" headers="mcps1.3.3.18.2.5.1.4 "><p id="cce_02_0354__p7874156112314">Maximum number of nodes after a scale-up if auto scaling is enabled. The value of this parameter must be greater than or equal to that of <strong id="cce_02_0354__b95842033185112">minNodeCount</strong> and does not exceed the maximum number of nodes for the cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row170860392"><td class="cellrowborder" valign="top" width="18.888111188881112%" headers="mcps1.3.3.18.2.5.1.1 "><p id="cce_02_0354__p8706123825519">scaleDownCooldownTime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.438756124387561%" headers="mcps1.3.3.18.2.5.1.2 "><p id="cce_02_0354__p296303171918">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.807619238076192%" headers="mcps1.3.3.18.2.5.1.3 "><p id="cce_02_0354__p87011643913">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.86551344865513%" headers="mcps1.3.3.18.2.5.1.4 "><p id="cce_02_0354__p157013611396">Interval during which nodes added after a scale-up will not be deleted, in minutes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row20753209193912"><td class="cellrowborder" valign="top" width="18.888111188881112%" headers="mcps1.3.3.18.2.5.1.1 "><p id="cce_02_0354__p1138185216552">priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.438756124387561%" headers="mcps1.3.3.18.2.5.1.2 "><p id="cce_02_0354__p1196312313197">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.807619238076192%" headers="mcps1.3.3.18.2.5.1.3 "><p id="cce_02_0354__p575315915398">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.86551344865513%" headers="mcps1.3.3.18.2.5.1.4 "><p id="cce_02_0354__p1375313920395">Node pool weight. A higher weight indicates a higher priority in scale-up.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table978201612141"></a><a name="table978201612141"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table978201612141" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Data structure of the nodeManagement field</caption><thead align="left"><tr id="cce_02_0354__row6781816131419"><th align="left" class="cellrowborder" valign="top" width="18.26%" id="mcps1.3.3.19.2.5.1.1"><p id="cce_02_0354__p14641835154910">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.379999999999999%" id="mcps1.3.3.19.2.5.1.2"><p id="cce_02_0354__p94648352495">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.2%" id="mcps1.3.3.19.2.5.1.3"><p id="cce_02_0354__p74641935124916">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="52.16%" id="mcps1.3.3.19.2.5.1.4"><p id="cce_02_0354__p17464143594916">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row37812169149"><td class="cellrowborder" valign="top" width="18.26%" headers="mcps1.3.3.19.2.5.1.1 "><p id="cce_02_0354__p478111619145">serverGroupReference</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.379999999999999%" headers="mcps1.3.3.19.2.5.1.2 "><p id="cce_02_0354__p1178616111419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.2%" headers="mcps1.3.3.19.2.5.1.3 "><p id="cce_02_0354__p155615427147">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.16%" headers="mcps1.3.3.19.2.5.1.4 "><p id="cce_02_0354__p1978121610149">ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table163721555105015"></a><a name="table163721555105015"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table163721555105015" frame="border" border="1" rules="all"><caption><b>Table 18 </b>Runtime</caption><thead align="left"><tr id="cce_02_0354__row1373145515500"><th align="left" class="cellrowborder" valign="top" width="20.599999999999998%" id="mcps1.3.3.20.2.5.1.1"><p id="cce_02_0354__p1768517595111">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.6%" id="mcps1.3.3.20.2.5.1.2"><p id="cce_02_0354__p17685755519">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.07%" id="mcps1.3.3.20.2.5.1.3"><p id="cce_02_0354__p12685255517">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41.730000000000004%" id="mcps1.3.3.20.2.5.1.4"><p id="cce_02_0354__p126858519510">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row183731455205010"><td class="cellrowborder" valign="top" width="20.599999999999998%" headers="mcps1.3.3.20.2.5.1.1 "><p id="cce_02_0354__p1737395595010">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.3.20.2.5.1.2 "><p id="cce_02_0354__p73731255155013">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.07%" headers="mcps1.3.3.20.2.5.1.3 "><p id="cce_02_0354__p133731552509">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.730000000000004%" headers="mcps1.3.3.20.2.5.1.4 "><p id="cce_02_0354__p1065576103017">Container runtime. The default value is <strong id="cce_02_0354__b4655116103020">docker</strong>.</p>
|
|
<p id="cce_02_0354__p106556623011">Enumeration values:</p>
|
|
<ul id="cce_02_0354__ul265516617301"><li id="cce_02_0354__li3655116133020">docker</li><li id="cce_02_0354__li4656126163010">containerd</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_Storage"></a><a name="en-us_topic_0000001417516392_request_Storage"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_Storage" frame="border" border="1" rules="all"><caption><b>Table 19 </b>Storage</caption><thead align="left"><tr id="cce_02_0354__row1719717721510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.21.2.5.1.1"><p id="cce_02_0354__p1230967171511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.21.2.5.1.2"><p id="cce_02_0354__p1630918711518">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.21.2.5.1.3"><p id="cce_02_0354__p9309178152">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.21.2.5.1.4"><p id="cce_02_0354__p1230919711153">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row1019812717158"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.1 "><p id="cce_02_0354__p63109720158">storageSelectors</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.2 "><p id="cce_02_0354__p531013751518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.3 "><p id="cce_02_0354__p431016714157">Array of <a href="#cce_02_0354__en-us_topic_0000001417516392_request_StorageSelectors">StorageSelectors</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.21.2.5.1.4 "><p id="cce_02_0354__p16310137191511">Disk selection. Matched disks are managed according to <strong id="cce_02_0354__b1310197131513">matchLabels</strong> and <strong id="cce_02_0354__b731087191510">storageType</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1619816719152"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.1 "><p id="cce_02_0354__p153101719155">storageGroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.2 "><p id="cce_02_0354__p63111715158">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.21.2.5.1.3 "><p id="cce_02_0354__p3311147201515">Array of <a href="#cce_02_0354__en-us_topic_0000001417516392_request_StorageGroups">StorageGroups</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.21.2.5.1.4 "><p id="cce_02_0354__p153113761517">A storage group consists of multiple storage devices. It is used to divide storage space.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_StorageSelectors"></a><a name="en-us_topic_0000001417516392_request_StorageSelectors"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_StorageSelectors" frame="border" border="1" rules="all"><caption><b>Table 20 </b>StorageSelectors</caption><thead align="left"><tr id="cce_02_0354__row920111711519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.22.2.5.1.1"><p id="cce_02_0354__p7311127121520">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.22.2.5.1.2"><p id="cce_02_0354__p53116713155">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.22.2.5.1.3"><p id="cce_02_0354__p113121771155">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.22.2.5.1.4"><p id="cce_02_0354__p143121976159">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row1420197141517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.1 "><p id="cce_02_0354__p173123701515">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.2 "><p id="cce_02_0354__p18312197171511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.3 "><p id="cce_02_0354__p931211721517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.22.2.5.1.4 "><p id="cce_02_0354__p13121871155">Selector name, used as the index of <strong id="cce_02_0354__b193123751517">selectorNames</strong> in <strong id="cce_02_0354__b1731210711159">storageGroup</strong>. Therefore, the name of each selector must be unique.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row320147131510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.1 "><p id="cce_02_0354__p5313177151514">storageType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.2 "><p id="cce_02_0354__p123138781518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.3 "><p id="cce_02_0354__p1231327131513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.22.2.5.1.4 "><p id="cce_02_0354__p13132719152">Specifies the storage type. Currently, only <strong id="cce_02_0354__b173130781517">evs</strong> (EVS volumes) and <strong id="cce_02_0354__b1431317111513">local</strong> (local volumes) are supported. The local storage does not support disk selection. All local disks will form a VG. Therefore, only one storageSelector of the local type is allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row112019710153"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.1 "><p id="cce_02_0354__p5313117141519">matchLabels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.2 "><p id="cce_02_0354__p23144710157">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.22.2.5.1.3 "><p id="cce_02_0354__p831414716154"><a href="#cce_02_0354__en-us_topic_0000001417516392_request_matchLabels">matchLabels</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.22.2.5.1.4 "><p id="cce_02_0354__p13141751510">Matching field of an EVS volume. The <strong id="cce_02_0354__b431410741513">size</strong>, <strong id="cce_02_0354__b103147761515">volumeType</strong>, <strong id="cce_02_0354__b9314107121517">metadataEncrypted</strong>, <strong id="cce_02_0354__b173149791517">metadataCmkid</strong> and <strong id="cce_02_0354__b14314572159">count</strong> fields are supported.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_matchLabels"></a><a name="en-us_topic_0000001417516392_request_matchLabels"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_matchLabels" frame="border" border="1" rules="all"><caption><b>Table 21 </b>matchLabels</caption><thead align="left"><tr id="cce_02_0354__row10206373156"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.23.2.5.1.1"><p id="cce_02_0354__p143154715157">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.23.2.5.1.2"><p id="cce_02_0354__p2031513741517">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.23.2.5.1.3"><p id="cce_02_0354__p631507171515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.23.2.5.1.4"><p id="cce_02_0354__p163152715157">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row3206578154"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.1 "><p id="cce_02_0354__p133159711520">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.2 "><p id="cce_02_0354__p183151073154">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.3 "><p id="cce_02_0354__p4316157121519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.23.2.5.1.4 "><p id="cce_02_0354__p153161974151">Matched disk size. If this parameter is left unspecified, the disk size is not limited. Example: 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row52064719151"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.1 "><p id="cce_02_0354__p2031611731519">volumeType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.2 "><p id="cce_02_0354__p93166721514">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.3 "><p id="cce_02_0354__p431637151516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.23.2.5.1.4 "><p id="cce_02_0354__p1831687191510">EVS disk type.</p>
|
|
<ul id="cce_02_0354__ul7618138132519"><li id="cce_02_0354__cce_02_0242_li155824732518"><strong id="cce_02_0354__cce_02_0242_b1558194742518">SATA</strong>: common I/O</li><li id="cce_02_0354__cce_02_0242_li1159144715251"><strong id="cce_02_0354__cce_02_0242_b859547132512">SAS</strong>: high I/O</li><li id="cce_02_0354__cce_02_0242_li459847122511"><strong id="cce_02_0354__cce_02_0242_b17590476252">SSD</strong>: ultra-high I/O</li><li id="cce_02_0354__cce_02_0242_li15823164720306"><strong id="cce_02_0354__cce_02_0242_b138041948193117">GPSSD</strong>: general-purpose SSD</li><li id="cce_02_0354__cce_02_0242_li5625204512311"><strong id="cce_02_0354__cce_02_0242_b1924635243115">ESSD</strong>: extreme SSD</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row7206197111514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.1 "><p id="cce_02_0354__p1131610720155">metadataEncrypted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.2 "><p id="cce_02_0354__p4317187161517">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.3 "><p id="cce_02_0354__p15317175158">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.23.2.5.1.4 "><p id="cce_02_0354__p173177711156">Disk encryption identifier. <strong id="cce_02_0354__b123170719157">0</strong> indicates that the disk is not encrypted, and <strong id="cce_02_0354__b13317137161517">1</strong> indicates that the disk is encrypted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row2020614751518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.1 "><p id="cce_02_0354__p931713716152">metadataCmkid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.2 "><p id="cce_02_0354__p73175741513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.3 "><p id="cce_02_0354__p231717171514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.23.2.5.1.4 "><p id="cce_02_0354__p13181276159">Customer master key ID of an encrypted disk. The value is a 36-byte string.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row92061970150"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.1 "><p id="cce_02_0354__p15318875152">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.2 "><p id="cce_02_0354__p53181070155">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.23.2.5.1.3 "><p id="cce_02_0354__p931815701517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.23.2.5.1.4 "><p id="cce_02_0354__p7318879152">Number of disks to be selected. If this parameter is left blank, all disks of this type are selected.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_StorageGroups"></a><a name="en-us_topic_0000001417516392_request_StorageGroups"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_StorageGroups" frame="border" border="1" rules="all"><caption><b>Table 22 </b>StorageGroups</caption><thead align="left"><tr id="cce_02_0354__row92132731513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.24.2.5.1.1"><p id="cce_02_0354__p183190771519">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.24.2.5.1.2"><p id="cce_02_0354__p133195715154">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.24.2.5.1.3"><p id="cce_02_0354__p73192072154">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.24.2.5.1.4"><p id="cce_02_0354__p11319771156">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row1213177121510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.1 "><p id="cce_02_0354__p93191718153">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.2 "><p id="cce_02_0354__p231918712153">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.3 "><p id="cce_02_0354__p53206731517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.24.2.5.1.4 "><p id="cce_02_0354__p13320187131511">Name of a virtual storage group, which must be unique.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1521311718158"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.1 "><p id="cce_02_0354__p1532017151520">cceManaged</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.2 "><p id="cce_02_0354__p1732087151510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.3 "><p id="cce_02_0354__p6320177101513">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.24.2.5.1.4 "><p id="cce_02_0354__p2320378154">Storage space for Kubernetes and runtime components. Only one group can be set to <strong id="cce_02_0354__b432011717158">true</strong>. If this parameter is left blank, the default value <strong id="cce_02_0354__b15320127121510">false</strong> is used.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row8213107111513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.1 "><p id="cce_02_0354__p103211976151">selectorNames</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.2 "><p id="cce_02_0354__p332110719151">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.3 "><p id="cce_02_0354__p932114719155">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.24.2.5.1.4 "><p id="cce_02_0354__p20321671159">This parameter corresponds to <strong id="cce_02_0354__b5321177181516">name</strong> in <strong id="cce_02_0354__b11321137191513">storageSelectors</strong>. A group can match multiple selectors, but a selector can match only one group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row32131676150"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.1 "><p id="cce_02_0354__p1332187111515">virtualSpaces</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.2 "><p id="cce_02_0354__p1932119712155">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.24.2.5.1.3 "><p id="cce_02_0354__p1232227161513">Array of <a href="#cce_02_0354__en-us_topic_0000001417516392_request_VirtualSpace">VirtualSpace</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.24.2.5.1.4 "><p id="cce_02_0354__p63221172159">Detailed management of space configuration in a group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_VirtualSpace"></a><a name="en-us_topic_0000001417516392_request_VirtualSpace"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_VirtualSpace" frame="border" border="1" rules="all"><caption><b>Table 23 </b>VirtualSpace</caption><thead align="left"><tr id="cce_02_0354__row18218157101510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.25.2.5.1.1"><p id="cce_02_0354__p7322197151515">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.25.2.5.1.2"><p id="cce_02_0354__p7322197121512">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.25.2.5.1.3"><p id="cce_02_0354__p83226771519">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.25.2.5.1.4"><p id="cce_02_0354__p1132347101518">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row132185719151"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.1 "><p id="cce_02_0354__p1432314714154">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.2 "><p id="cce_02_0354__p18323187141514">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.3 "><p id="cce_02_0354__p13231771151">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.25.2.5.1.4 "><p id="cce_02_0354__p33231275151">Name of a virtualSpace.</p>
|
|
<ul id="cce_02_0354__ul1932397191513"><li id="cce_02_0354__li9323273158"><strong id="cce_02_0354__b632477131517">Kubernetes</strong>: Kubernetes space configuration. <strong id="cce_02_0354__b332420711513">lvmConfig</strong> needs to be configured.</li><li id="cce_02_0354__li132413710152"><strong id="cce_02_0354__b032497151511">runtime</strong>: runtime space configuration. <strong id="cce_02_0354__b2324137131514">runtimeConfig</strong> needs to be configured.</li><li id="cce_02_0354__li1732416701515"><strong id="cce_02_0354__b123241378152">user</strong>: user space configuration. <strong id="cce_02_0354__b1832457131516">lvmConfig</strong> needs to be configured.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row132183719155"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.1 "><p id="cce_02_0354__p1732419711159">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.2 "><p id="cce_02_0354__p19324137111510">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.3 "><p id="cce_02_0354__p173259715157">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.25.2.5.1.4 "><p id="cce_02_0354__p03251872150">Size of a virtualSpace. The value must be an integer in percentage. Example: 90%.</p>
|
|
<div class="note" id="cce_02_0354__note83251171150"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p1532527191512">The sum of the percentages of all virtualSpaces in a group cannot exceed 100%.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1221820711517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.1 "><p id="cce_02_0354__p1532519718157">lvmConfig</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.2 "><p id="cce_02_0354__p7325127101518">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.3 "><p id="cce_02_0354__p153261576159"><a href="#cce_02_0354__en-us_topic_0000001417516392_request_LVMConfig">LVMConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.25.2.5.1.4 "><p id="cce_02_0354__p6326157181519">LVM configurations, applicable to <strong id="cce_02_0354__b832614781517">kubernetes</strong> and <strong id="cce_02_0354__b8326474150">user</strong> spaces. Note that one virtual space supports only one config.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row621807101515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.1 "><p id="cce_02_0354__p43261479158">runtimeConfig</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.2 "><p id="cce_02_0354__p73269718156">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.25.2.5.1.3 "><p id="cce_02_0354__p123261774155"><a href="#cce_02_0354__en-us_topic_0000001417516392_request_RuntimeConfig">RuntimeConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.25.2.5.1.4 "><p id="cce_02_0354__p132610715152">runtime configurations, applicable to the <strong id="cce_02_0354__b113262072156">runtime</strong> space. Note that one virtual space supports only one config.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_LVMConfig"></a><a name="en-us_topic_0000001417516392_request_LVMConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_LVMConfig" frame="border" border="1" rules="all"><caption><b>Table 24 </b>LVMConfig</caption><thead align="left"><tr id="cce_02_0354__row422514715154"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.26.2.5.1.1"><p id="cce_02_0354__p1332719719154">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.26.2.5.1.2"><p id="cce_02_0354__p203279731511">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.26.2.5.1.3"><p id="cce_02_0354__p1932737141512">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.26.2.5.1.4"><p id="cce_02_0354__p232715761519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row7226157131513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.1 "><p id="cce_02_0354__p33275711151">lvType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.2 "><p id="cce_02_0354__p1432714791510">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.3 "><p id="cce_02_0354__p632810711156">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.26.2.5.1.4 "><p id="cce_02_0354__p83288791512">LVM write mode. <strong id="cce_02_0354__b832813781516">linear</strong> indicates the linear mode. <strong id="cce_02_0354__b1032818791510">striped</strong> indicates the striped mode, in which multiple disks are used to form a strip to improve disk performance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row922612718155"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.1 "><p id="cce_02_0354__p93289712158">path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.2 "><p id="cce_02_0354__p1632814716157">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.26.2.5.1.3 "><p id="cce_02_0354__p432820701513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.26.2.5.1.4 "><p id="cce_02_0354__p1732957131516">Path to which the disk is attached. This parameter takes effect only in user configuration. The value is an absolute path. Digits, letters, periods (.), hyphens (-), and underscores (_) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__en-us_topic_0000001417516392_request_RuntimeConfig"></a><a name="en-us_topic_0000001417516392_request_RuntimeConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__en-us_topic_0000001417516392_request_RuntimeConfig" frame="border" border="1" rules="all"><caption><b>Table 25 </b>RuntimeConfig</caption><thead align="left"><tr id="cce_02_0354__row1722914771514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.27.2.5.1.1"><p id="cce_02_0354__p73294751514">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.27.2.5.1.2"><p id="cce_02_0354__p432910713152">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.27.2.5.1.3"><p id="cce_02_0354__p133297781518">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.27.2.5.1.4"><p id="cce_02_0354__p10329107141510">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row122927111518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.27.2.5.1.1 "><p id="cce_02_0354__p8329576159">lvType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.27.2.5.1.2 "><p id="cce_02_0354__p183301776158">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.27.2.5.1.3 "><p id="cce_02_0354__p1330147141517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.27.2.5.1.4 "><p id="cce_02_0354__p4330777151">LVM write mode. <strong id="cce_02_0354__b1133014741516">linear</strong> indicates the linear mode. <strong id="cce_02_0354__b13330137121512">striped</strong> indicates the striped mode, in which multiple disks are used to form a strip to improve disk performance.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0354__p116586338273"><strong id="cce_02_0354__b562002">Example Request</strong></p>
|
|
<p id="cce_02_0354__p7338262012">CCE cluster:</p>
|
|
<pre class="screen" id="cce_02_0354__screen3373851111118">{
|
|
"kind": "NodePool",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"name": "wyr-17-nodepool-53042"
|
|
},
|
|
"spec": {
|
|
"initialNodeCount": 0,
|
|
"type": "vm",
|
|
"autoscaling": {
|
|
"enable": true,
|
|
"minNodeCount": 1,
|
|
"maxNodeCount": 3,
|
|
"scaleDownCooldownTime": 10,
|
|
"priority": 1
|
|
},
|
|
"nodeManagement": {
|
|
"serverGroupReference": "2129f95a-f233-4cd8-a1b2-9c0acdf918d3"
|
|
},
|
|
"nodeTemplate": {
|
|
"flavor": "s6.large.2",
|
|
"az": "eu-de-01",
|
|
"os": "EulerOS 2.5",
|
|
"login": {
|
|
"sshKey": "KeyPair-nodepool"
|
|
},
|
|
"rootVolume": {
|
|
"volumetype": "SATA",
|
|
"size": 40
|
|
},
|
|
"dataVolumes": [
|
|
{
|
|
"volumetype": "SATA",
|
|
"size": 100,
|
|
"extendParam": {
|
|
"useType": "docker"
|
|
}
|
|
}
|
|
],
|
|
"billingMode": 0,
|
|
"extendParam": {
|
|
"alpha.cce/preInstall": "bHMgLWw=",
|
|
"alpha.cce/postInstall": "bHMgLWwK",
|
|
"alpha.cce/NodeImageID": "85bd7ec5-bca4-4f5f-947b-6c1bf02599d3",
|
|
"maxPods": 110,
|
|
"DockerLVMConfigOverride": "dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear"
|
|
},
|
|
"k8sTags": {
|
|
"tag1": "value1",
|
|
"tag2": "value2"
|
|
},
|
|
"taints": [
|
|
{
|
|
"key": "aaa",
|
|
"value": "bbb",
|
|
"effect": "NoSchedule"
|
|
},
|
|
{
|
|
"key": "ccc",
|
|
"value": "ddd",
|
|
"effect": "NoSchedule"
|
|
}
|
|
],
|
|
"userTags": [
|
|
{
|
|
"key": "resource-tag1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"key": "resource-tag2",
|
|
"value": "value2"
|
|
}
|
|
],
|
|
"nodeNicSpec": {
|
|
"primaryNic": {
|
|
"subnetId": "31be174a-0c7f-4b71-bb0d-d325fecb90ef"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
<p id="cce_02_0354__p8129125516532">CCE Turbo cluster:</p>
|
|
<pre class="screen" id="cce_02_0354__screen87291970542">{
|
|
"kind": "NodePool",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"name": "turbo-cluster-nodepool1"
|
|
},
|
|
"spec": {
|
|
"initialNodeCount": 0,
|
|
"type": "ElasticBMS",
|
|
"nodeTemplate": {
|
|
"flavor": "cce.c4.22xlarge.4.physical.129nic",
|
|
"az": "eu-de-01",
|
|
"login": {
|
|
"sshKey":"id_rsa"
|
|
},
|
|
"rootVolume": {
|
|
"volumetype": "SAS",
|
|
"size": 40,
|
|
"hw:passthrough": true},
|
|
"dataVolumes": [
|
|
{
|
|
"volumetype": "SAS",
|
|
"size": 100,
|
|
"hw:passthrough": true
|
|
}
|
|
],
|
|
"runtime": {
|
|
"name":"containerd"
|
|
},
|
|
"extendParam": {
|
|
"alpha.cce/NodeImageID":"0fea78c3-1b31-4653-8859-ac151ccadcd4"
|
|
}
|
|
}
|
|
}
|
|
} </pre>
|
|
</div>
|
|
<div class="section" id="cce_02_0354__section61819725020"><h4 class="sectiontitle">Response</h4><p id="cce_02_0354__zh-cn_topic_0079614900_p2018733"><strong id="cce_02_0354__b2611581026">Response parameters:</strong></p>
|
|
<p id="cce_02_0354__p16966318249"><a href="#cce_02_0354__table835415466262">Table 26</a> describes the response parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table835415466262"></a><a name="table835415466262"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table835415466262" frame="border" border="1" rules="all"><caption><b>Table 26 </b>Response parameters</caption><thead align="left"><tr id="cce_02_0354__row1135434622614"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="cce_02_0354__p133541946172620">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27%" id="mcps1.3.4.4.2.4.1.2"><p id="cce_02_0354__p12354646132613">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48%" id="mcps1.3.4.4.2.4.1.3"><p id="cce_02_0354__p1335454642614">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row235474612260"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0354__p108391536181311">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0354__p1056311621716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0354__p0335735519">API type. The value is fixed to <strong id="cce_02_0354__b733511312518">NodePool</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row5354746122613"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0354__p1785493610136">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0354__p757801610179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0354__p433515319517">API version. The value is fixed to <strong id="cce_02_0354__b733518317510">v3</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row535484617265"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0354__p1185493615135">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0354__p1435414461268"><a href="#cce_02_0354__table173551146152616">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0354__p133351036511">Node pool metadata.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1435524617267"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0354__p6532732161518">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0354__p113551464262"><a href="#cce_02_0354__table1735515465260">spec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0354__p833510314514">Detailed node pool parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1482918413216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0354__p15204203610152">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0354__p1920413611513"><a href="#cce_02_0354__table19851129411">status</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0354__p1733643165115">Node pool status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table173551146152616"></a><a name="table173551146152616"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table173551146152616" frame="border" border="1" rules="all"><caption><b>Table 27 </b>Data structure of the metadata field</caption><thead align="left"><tr id="cce_02_0354__row183557469266"><th align="left" class="cellrowborder" valign="top" width="25.252525252525253%" id="mcps1.3.4.5.2.4.1.1"><p id="cce_02_0354__p68404020504">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.262626262626267%" id="mcps1.3.4.5.2.4.1.2"><p id="cce_02_0354__p1584640145019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.484848484848484%" id="mcps1.3.4.5.2.4.1.3"><p id="cce_02_0354__p884240135014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row435594619266"><td class="cellrowborder" valign="top" width="25.252525252525253%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0354__p93551746142613">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.262626262626267%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0354__p93552467263">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.484848484848484%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0354__p1473182855120">Name of the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row6345613224"><td class="cellrowborder" valign="top" width="25.252525252525253%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0354__p103256202220">uid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.262626262626267%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0354__p3305622213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.484848484848484%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0354__p573113285519">ID of the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table1735515465260"></a><a name="table1735515465260"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table1735515465260" frame="border" border="1" rules="all"><caption><b>Table 28 </b>Data structure of the spec field</caption><thead align="left"><tr id="cce_02_0354__row11355446152613"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="cce_02_0354__p077664385018">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.4.6.2.4.1.2"><p id="cce_02_0354__p7776194319502">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47%" id="mcps1.3.4.6.2.4.1.3"><p id="cce_02_0354__p117761443195018">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row17454516165113"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p945612167518">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p124560163518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p163524645116">Node type. Currently, only VM nodes are supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1876122404619"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p1076192412469">initialNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p1776202434617">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p463518469513">Initial number of nodes for the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row835694616269"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p10356174662619">nodeTemplate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p2356346142618"><a href="#cce_02_0354__table3150105216225">nodeTemplate</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p1163517464516">Detailed parameters of the node pool template.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row15356104692611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p7356946102619">autoscaling</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p23561146102614"><a href="#cce_02_0354__table14356154632610">autoscaling</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p13635134613512">Auto scaling parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row10356346122610"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p1235654617267">nodeManagement</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p1356134602615"><a href="#cce_02_0354__table1778609171919">nodeManagement</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p163594610515">Node management parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row839012910442"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0354__p5956489221">customSecurityGroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0354__p595184822219">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0354__p6955489221">Custom security group settings for a node pool. New nodes scaled out in a node pool can be bound to a specified security group.</p>
|
|
<ul id="cce_02_0354__ul695248102218"><li id="cce_02_0354__li5951548202214">Specifying no security group ID will add the new nodes to the default security group of the worker nodes.</li><li id="cce_02_0354__li49584820226">Specifying a valid security group ID will put new nodes in that security group.</li><li id="cce_02_0354__li18957483227">When specifying a security group, do not modify the rules of the port on which CCE running depends.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table14356154632610"></a><a name="table14356154632610"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table14356154632610" frame="border" border="1" rules="all"><caption><b>Table 29 </b>Data structure of the autoscaling field</caption><thead align="left"><tr id="cce_02_0354__row0356546142617"><th align="left" class="cellrowborder" valign="top" width="25.742574257425744%" id="mcps1.3.4.7.2.4.1.1"><p id="cce_02_0354__p13202947105010">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.742574257425744%" id="mcps1.3.4.7.2.4.1.2"><p id="cce_02_0354__p22021847195014">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.51485148514851%" id="mcps1.3.4.7.2.4.1.3"><p id="cce_02_0354__p4202194765016">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row13356184692610"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0354__p10356346112611">enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0354__p335674622619">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0354__p158603665217">Whether to enable auto scaling.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row780851220361"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0354__p128091812173619">minNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0354__p280941213615">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0354__p14447433163711">Minimum number of nodes allowed if auto scaling is enabled. The value cannot be greater than the maximum number of nodes allowed by the cluster specifications.</p>
|
|
<p id="cce_02_0354__p144773333710">Minimum:<strong id="cce_02_0354__b970012532373"> 0</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row935794610264"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0354__p3357124613263">maxNodeCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0354__p1435744652613">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0354__p12860126155211">Maximum number of nodes allowed if auto scaling is enabled. This value must be greater than or equal to the value of <strong id="cce_02_0354__b28421426143913">minNodeCount</strong> and cannot exceed the maximum number of nodes in the cluster specifications.</p>
|
|
<p id="cce_02_0354__p5695703915">Minimum:<strong id="cce_02_0354__b15512344399"> </strong><strong id="cce_02_0354__b1161434193910">0</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row197941024182811"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0354__p1512443102817">scaleDownCooldownTime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0354__p5124133152817">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0354__p158601611521">Interval between two scaling operations, in minutes. During this period, nodes added after a scale-up will not be deleted.</p>
|
|
<p id="cce_02_0354__p3421154253919">Minimum: <strong id="cce_02_0354__b15634154712392">0</strong></p>
|
|
<p id="cce_02_0354__p4421104273912">Maximum: <strong id="cce_02_0354__b39221651123910">2147483647</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row1595730132817"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0354__p81241531182811">priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0354__p191255315281">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0354__p4860156115214">Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table1778609171919"></a><a name="table1778609171919"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table1778609171919" frame="border" border="1" rules="all"><caption><b>Table 30 </b>Data structure of the nodeManagement field</caption><thead align="left"><tr id="cce_02_0354__row78023911913"><th align="left" class="cellrowborder" valign="top" width="25.742574257425744%" id="mcps1.3.4.8.2.4.1.1"><p id="cce_02_0354__p5868185010508">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.742574257425744%" id="mcps1.3.4.8.2.4.1.2"><p id="cce_02_0354__p168691350195016">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.51485148514851%" id="mcps1.3.4.8.2.4.1.3"><p id="cce_02_0354__p986919508501">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row118171192197"><td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0354__p8817149151911">serverGroupReference</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.742574257425744%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0354__p12817189181910">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0354__p138171696199">ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__table19851129411"></a><a name="table19851129411"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__table19851129411" frame="border" border="1" rules="all"><caption><b>Table 31 </b>Data structure of the status field</caption><thead align="left"><tr id="cce_02_0354__row1598617120411"><th align="left" class="cellrowborder" valign="top" width="25.564356435643564%" id="mcps1.3.4.9.2.4.1.1"><p id="cce_02_0354__p19683195355011">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.920792079207917%" id="mcps1.3.4.9.2.4.1.2"><p id="cce_02_0354__p46833537501">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.51485148514851%" id="mcps1.3.4.9.2.4.1.3"><p id="cce_02_0354__p86831153185012">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__row1998601212411"><td class="cellrowborder" valign="top" width="25.564356435643564%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0354__p14986151215418">currentNode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.920792079207917%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0354__p119861121417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0354__p398610128420">Number of nodes in the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row5493954412"><td class="cellrowborder" valign="top" width="25.564356435643564%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0354__p1051239114419">deletingNode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.920792079207917%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0354__p4593964417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0354__p29816276464">Number of nodes being deleted in the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row3953193044517"><td class="cellrowborder" valign="top" width="25.564356435643564%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0354__p8954123010457">creatingNode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.920792079207917%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0354__p18662919174610">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0354__p1732212291469">Number of nodes being created in the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row64742111104"><td class="cellrowborder" valign="top" width="25.564356435643564%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0354__p20474111307">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.920792079207917%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0354__p94741011308">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0354__p57304479528">Node pool status.</p>
|
|
<ul id="cce_02_0354__ul16730747135211"><li id="cce_02_0354__li207306478526"><strong id="cce_02_0354__b10730184710529">Synchronizing</strong>: The node is being synchronized.</li><li id="cce_02_0354__li18730847115216"><strong id="cce_02_0354__b18730134712526">Synchronized</strong>: The node has been synchronized.</li><li id="cce_02_0354__li1773044765214"><strong id="cce_02_0354__b6731164712522">SoldOut</strong>: Nodes have been sold out.</li><li id="cce_02_0354__li137311147195217"><strong id="cce_02_0354__b8731847205212">Deleting</strong>: The node is being deleted.</li><li id="cce_02_0354__li773112478526"><strong id="cce_02_0354__b12731134725218">Error</strong>: An error occurred when the node is being added.</li></ul>
|
|
<div class="p" id="cce_02_0354__p21109567420">Enumeration values:<ul id="cce_02_0354__ul133652540426"><li id="cce_02_0354__li1365115424213"><strong id="cce_02_0354__b1479215176431">Synchronizing</strong></li><li id="cce_02_0354__li13651554174210"><strong id="cce_02_0354__b166491326154315">Synchronized</strong></li><li id="cce_02_0354__li1036595414213"><strong id="cce_02_0354__b8662102619435">SoldOut</strong></li><li id="cce_02_0354__li23651054114216"><strong id="cce_02_0354__b76716264439">Deleting</strong></li><li id="cce_02_0354__li163656547426"><strong id="cce_02_0354__b767262694311">Error</strong></li></ul>
|
|
</div>
|
|
<div class="note" id="cce_02_0354__note19031222142210"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="cce_02_0354__p1596810229229">If the status is blank, the status is normal.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0354__row20552134124213"><td class="cellrowborder" valign="top" width="25.564356435643564%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0354__p14241616104218">jobId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.920792079207917%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0354__p324161604210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.51485148514851%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0354__p1924217162421">ID of the job to delete the node pool.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0354__en-us_topic_0079614900_p24465425"><strong id="cce_02_0354__b476113439112">Example response:</strong></p>
|
|
<p id="cce_02_0354__p1660173403819">CCE cluster:</p>
|
|
<pre class="screen" id="cce_02_0354__screen4435725191315">{
|
|
"kind": "NodePool",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"name": "wyr-17-nodepool-53042",
|
|
"uid": "feec6013-cd7e-11ea-8c7a-0255ac100be7"
|
|
},
|
|
"spec": {
|
|
"initialNodeCount": 0,
|
|
"type": "vm",
|
|
"nodeTemplate": {
|
|
"flavor": "s6.large.2",
|
|
"az": "eu-de-01",
|
|
"os": "EulerOS 2.5",
|
|
"login": {
|
|
"sshKey": "KeyPair-nodepool",
|
|
"userPassword": {}
|
|
},
|
|
"rootVolume": {
|
|
"volumetype": "SATA",
|
|
"size": 40
|
|
},
|
|
"dataVolumes": [
|
|
{
|
|
"volumetype": "SATA",
|
|
"size": 100,
|
|
"extendParam": {
|
|
"useType": "docker"
|
|
}
|
|
}
|
|
],
|
|
<span id="cce_02_0354__ph118852019141511"> "storage": {</span>
|
|
<span id="cce_02_0354__ph18852019131516"> "storageSelectors": [</span>
|
|
<span id="cce_02_0354__ph138855198156"> {</span>
|
|
<span id="cce_02_0354__ph19885161913157"> "name": "cceUse",</span>
|
|
<span id="cce_02_0354__ph17886181951510"> "storageType": "evs",</span>
|
|
<span id="cce_02_0354__ph788601915152"> "matchLabels": {</span>
|
|
<span id="cce_02_0354__ph38864194154"> "size": "100",</span>
|
|
<span id="cce_02_0354__ph7887151916158"> "volumeType": "SAS",</span>
|
|
<span id="cce_02_0354__ph788714198158"> "count": "1"</span>
|
|
<span id="cce_02_0354__ph1788881921512"> }</span>
|
|
<span id="cce_02_0354__ph148889199156"> }</span>
|
|
<span id="cce_02_0354__ph15888141981514"> ],</span>
|
|
<span id="cce_02_0354__ph888891915151"> "storageGroups": [</span>
|
|
<span id="cce_02_0354__ph158885194151"> {</span>
|
|
<span id="cce_02_0354__ph4888171961512"> "name": "vgpaas",</span>
|
|
<span id="cce_02_0354__ph1488911991516"> "selectorNames": [</span>
|
|
<span id="cce_02_0354__ph15889111991514"> "cceUse"</span>
|
|
<span id="cce_02_0354__ph1388941931519"> ],</span>
|
|
<span id="cce_02_0354__ph3889161911153"> "cceManaged": true,</span>
|
|
<span id="cce_02_0354__ph1989031919154"> "virtualSpaces": [</span>
|
|
<span id="cce_02_0354__ph689017198159"> {</span>
|
|
<span id="cce_02_0354__ph118901919201520"> "name": "runtime",</span>
|
|
<span id="cce_02_0354__ph138901019101519"> "size": "90%"</span>
|
|
<span id="cce_02_0354__ph198911197153"> },</span>
|
|
<span id="cce_02_0354__ph2089111911517"> {</span>
|
|
<span id="cce_02_0354__ph18911219141515"> "name": "kubernetes",</span>
|
|
<span id="cce_02_0354__ph189291919155"> "size": "10%"</span>
|
|
<span id="cce_02_0354__ph178926199152"> }</span>
|
|
<span id="cce_02_0354__ph389271991512"> ]</span>
|
|
<span id="cce_02_0354__ph2892171961511"> }</span>
|
|
<span id="cce_02_0354__ph1189212194151"> ]</span>
|
|
<span id="cce_02_0354__ph1489251921517"> },</span>
|
|
"runtime": {
|
|
"name":"docker"
|
|
},
|
|
"publicIP": {
|
|
"eip": {
|
|
"bandwidth": {}
|
|
}
|
|
},
|
|
"nodeNicSpec": {
|
|
"primaryNic": {
|
|
"subnetId": "31be174a-0c7f-4b71-bb0d-d325fecb90ef"
|
|
}
|
|
},
|
|
"billingMode": 0,
|
|
"taints": [
|
|
{
|
|
"key": "aaa",
|
|
"value": "bbb",
|
|
"effect": "NoSchedule"
|
|
},
|
|
{
|
|
"key": "ccc",
|
|
"value": "ddd",
|
|
"effect": "NoSchedule"
|
|
}
|
|
],
|
|
"k8sTags": {
|
|
"cce.cloud.com/cce-nodepool": "wyr-17-nodepool-53042",
|
|
"tag1": "value1",
|
|
"tag2": "value2"
|
|
},
|
|
"userTags": [
|
|
{
|
|
"key": "resource-tag1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"key": "resource-tag2",
|
|
"value": "value2"
|
|
}
|
|
],
|
|
"extendParam": {
|
|
"DockerLVMConfigOverride": "dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear",
|
|
"alpha.cce/NodeImageID": "85bd7ec5-bca4-4f5f-947b-6c1bf02599d3",
|
|
"alpha.cce/postInstall": "bHMgLWwK",
|
|
"alpha.cce/preInstall": "bHMgLWw=",
|
|
"maxPods": 110,
|
|
"publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQA***d-by-Nova\n"
|
|
}
|
|
},
|
|
"autoscaling": {
|
|
"enable": true,
|
|
"minNodeCount": 1,
|
|
"maxNodeCount": 3,
|
|
"scaleDownCooldownTime": 10,
|
|
"priority": 1
|
|
},
|
|
"nodeManagement": {
|
|
"serverGroupReference": "2129f95a-f233-4cd8-a1b2-9c0acdf918d3"
|
|
}
|
|
},
|
|
"status": {
|
|
"currentNode": 0,
|
|
"deletingNode": 0,
|
|
"creatingNode": 0,
|
|
"phase": ""
|
|
}
|
|
}</pre>
|
|
<p id="cce_02_0354__p231483219355">CCE Turbo cluster:</p>
|
|
<pre class="screen" id="cce_02_0354__screen18314193219352">{
|
|
"kind": "NodePool",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"name": "turbo-cluster-nodepool1",
|
|
"uid": "99addaa2-69eb-11ea-a592-0255ac1001bb"
|
|
},
|
|
"spec": {
|
|
"initialNodeCount": 0,
|
|
"type": "ElasticBMS",
|
|
"nodeTemplate": {
|
|
"flavor": "cce.c4.22xlarge.4.physical.129nic",
|
|
"az": "eu-de-01",
|
|
"os": "EulerOS 2.9",
|
|
"login": {
|
|
"sshKey":"id_rsa"
|
|
},
|
|
"rootVolume": {
|
|
"volumetype": "SAS",
|
|
"size": 40,
|
|
"hw:passthrough": true},
|
|
"dataVolumes": [
|
|
{
|
|
"volumetype": "SAS",
|
|
"size": 100,
|
|
"hw:passthrough": true
|
|
}
|
|
],
|
|
<span id="cce_02_0354__ph1390921951519"> "storage": {</span>
|
|
<span id="cce_02_0354__ph49109197155"> "storageSelectors": [</span>
|
|
<span id="cce_02_0354__ph189103193151"> {</span>
|
|
<span id="cce_02_0354__ph5910151981514"> "name": "cceUse",</span>
|
|
<span id="cce_02_0354__ph8911019141511"> "storageType": "evs",</span>
|
|
<span id="cce_02_0354__ph13911219191517"> "matchLabels": {</span>
|
|
<span id="cce_02_0354__ph1291114193151"> "size": "100",</span>
|
|
<span id="cce_02_0354__ph49121019131516"> "volumeType": "SAS",</span>
|
|
<span id="cce_02_0354__ph19121919191517"> "count": "1"</span>
|
|
<span id="cce_02_0354__ph129124194152"> }</span>
|
|
<span id="cce_02_0354__ph7913141991518"> }</span>
|
|
<span id="cce_02_0354__ph17913131951512"> ],</span>
|
|
<span id="cce_02_0354__ph13913161916153"> "storageGroups": [</span>
|
|
<span id="cce_02_0354__ph12913719161516"> {</span>
|
|
<span id="cce_02_0354__ph8913181961514"> "name": "vgpaas",</span>
|
|
<span id="cce_02_0354__ph189141419161519"> "selectorNames": [</span>
|
|
<span id="cce_02_0354__ph179141119141513"> "cceUse"</span>
|
|
<span id="cce_02_0354__ph1091417190159"> ],</span>
|
|
<span id="cce_02_0354__ph9914191971513"> "cceManaged": true,</span>
|
|
<span id="cce_02_0354__ph1491501971519"> "virtualSpaces": [</span>
|
|
<span id="cce_02_0354__ph11915919131510"> {</span>
|
|
<span id="cce_02_0354__ph991531914150"> "name": "runtime",</span>
|
|
<span id="cce_02_0354__ph10915819141517"> "size": "90%"</span>
|
|
<span id="cce_02_0354__ph20916019121512"> },</span>
|
|
<span id="cce_02_0354__ph1091610198158"> {</span>
|
|
<span id="cce_02_0354__ph5916201914153"> "name": "kubernetes",</span>
|
|
<span id="cce_02_0354__ph391681991514"> "size": "10%"</span>
|
|
<span id="cce_02_0354__ph12917171916152"> }</span>
|
|
<span id="cce_02_0354__ph791710192151"> ]</span>
|
|
<span id="cce_02_0354__ph89171719171517"> }</span>
|
|
<span id="cce_02_0354__ph15917219141510"> ]</span>
|
|
<span id="cce_02_0354__ph189171119101512"> },</span>
|
|
"runtime": {
|
|
"name":"containerd"
|
|
},
|
|
"extendParam": {
|
|
"alpha.cce/NodeImageID":"0fea78c3-1b31-4653-8859-ac151ccadcd4"
|
|
}
|
|
}
|
|
},
|
|
"status": {
|
|
"phase": ""
|
|
}
|
|
} </pre>
|
|
</div>
|
|
<div class="section" id="cce_02_0354__s50f1049a6a4d404c895cf636eb8f3bf1"><h4 class="sectiontitle">Status Code</h4><p id="cce_02_0354__zh-cn_topic_0079614900_p21869221"><a href="#cce_02_0354__zh-cn_topic_0079614900_table46761928">Table 32</a> describes the status code of this API.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0354__zh-cn_topic_0079614900_table46761928"></a><a name="zh-cn_topic_0079614900_table46761928"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0354__zh-cn_topic_0079614900_table46761928" frame="border" border="1" rules="all"><caption><b>Table 32 </b>Status code</caption><thead align="left"><tr id="cce_02_0354__zh-cn_topic_0079614900_row33254664"><th align="left" class="cellrowborder" valign="top" width="24.610000000000003%" id="mcps1.3.5.3.2.3.1.1"><p id="cce_02_0354__p55616028205955">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="75.39%" id="mcps1.3.5.3.2.3.1.2"><p id="cce_02_0354__p8604418205955">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0354__zh-cn_topic_0079614900_row41084259"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.5.3.2.3.1.1 "><p id="cce_02_0354__zh-cn_topic_0079614900_p39490674">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.5.3.2.3.1.2 "><p id="cce_02_0354__zh-cn_topic_0079614900_p44628050">The job for creating a node in a specified cluster is successfully delivered.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0354__p347213715512">For the description about error status codes, see <a href="cce_02_0084.html">Status Code</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>
|
|
|