forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
651 lines
48 KiB
HTML
651 lines
48 KiB
HTML
<a name="EN-US_TOPIC_0000002341058362"></a><a name="EN-US_TOPIC_0000002341058362"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Nodes in a Resource Pool</h1>
|
|
<div id="body1708331107508"><div class="section" id="EN-US_TOPIC_0000002341058362__section2941102181617"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002341058362__p494120215166">This API is used to obtain nodes in a resource pool.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002341058362__p09425211166">GET /v2/{project_id}/pools/{pool_name}/nodes</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__table5942132191617" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row1394262151611"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002341058362__p16943821164">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000002341058362__p169434291615">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000002341058362__p8943202181620">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000002341058362__p9943122181612">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row69429217164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002341058362__p4943522163">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002341058362__p29432201618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1194332141611">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002341058362__p169435216168">Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row12942162101619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002341058362__p139431722160">pool_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002341058362__p199449231619">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002341058362__p119442261613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002341058362__p9944152161613">Resource pool ID. The value is the <strong id="EN-US_TOPIC_0000002341058362__b1194416215167">metadata.name</strong> field in the resource pool details.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__table2094572141619" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row16944172171610"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002341058362__p169461725162">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0000002341058362__p69467231611">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="EN-US_TOPIC_0000002341058362__p19467219162">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="EN-US_TOPIC_0000002341058362__p7946112101620">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row10944182111618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002341058362__p69468291610">continue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1794615251616">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002341058362__p894617211617">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002341058362__p169461328164">Previous query location in pagination query.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row29452212163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002341058362__p16946132121616">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002341058362__p894732161615">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002341058362__p79476271615">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002341058362__p18947728161">Number of records returned for a single pagination query.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section1994718221618"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000002341058362__p59471128163">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section29474218165"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002341058362__p09475214163"><strong id="EN-US_TOPIC_0000002341058362__b9947192111616">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeList" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row169479241618"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p79481229160">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p1994814201617">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p149487219161">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row1948822166"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p194812181610">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p139487211612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p189484213163">API version. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul18949102151611"><li id="EN-US_TOPIC_0000002341058362__li1694911231619"><p id="EN-US_TOPIC_0000002341058362__p159491420167"><a name="EN-US_TOPIC_0000002341058362__li1694911231619"></a><a name="li1694911231619"></a><strong id="EN-US_TOPIC_0000002341058362__b1394915271612">v2</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row29481728163"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1894917291610">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p894982141620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p6949162171617">Resource type. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul69490231613"><li id="EN-US_TOPIC_0000002341058362__li694962131610"><p id="EN-US_TOPIC_0000002341058362__p179495216162"><a name="EN-US_TOPIC_0000002341058362__li694962131610"></a><a name="li694962131610"></a><strong id="EN-US_TOPIC_0000002341058362__b5949182151612">NodeList</strong>: nodes</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1494872151614"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1494912218167">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p179491324166"><a href="#EN-US_TOPIC_0000002341058362__response_NodeListMetadata">NodeListMetadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p69491425160">Metadata of the resource list, including pagination information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row39489211164"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p494915216169">items</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p16950112161614">Array of <a href="#EN-US_TOPIC_0000002341058362__response_Node">Node</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p2950727169">Nodes.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeListMetadata"></a><a name="response_NodeListMetadata"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeListMetadata" frame="border" border="1" rules="all"><caption><b>Table 4 </b>NodeListMetadata</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row17950229163"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p595018213166">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p895002181618">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p1395017201617">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row3950152161610"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p09511422162">continue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p199511127168">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p12951823161">Next query position in pagination query</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1795018219169"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p895113210166">remainingItemCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p095112210162">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p109517217161">Remaining resources</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_Node"></a><a name="response_Node"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_Node" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Node</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row19951621165"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p99521121166">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p19952112141614">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p139521121166">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row199511324169"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p8952192191610">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p169521924166">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p295218216164">API version. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul2952102151610"><li id="EN-US_TOPIC_0000002341058362__li119520221618"><p id="EN-US_TOPIC_0000002341058362__p199534251619"><a name="EN-US_TOPIC_0000002341058362__li119520221618"></a><a name="li119520221618"></a><strong id="EN-US_TOPIC_0000002341058362__b18953920163">v2</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row295118221616"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1395315241616">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p18953182191613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p3953224166">Resource type. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul1095315215161"><li id="EN-US_TOPIC_0000002341058362__li495313251616"><p id="EN-US_TOPIC_0000002341058362__p199534217168"><a name="EN-US_TOPIC_0000002341058362__li495313251616"></a><a name="li495313251616"></a><strong id="EN-US_TOPIC_0000002341058362__b189530210166">Node</strong>: node</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row109511625166"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p495492181620">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1595415211164"><a href="#EN-US_TOPIC_0000002341058362__response_NodeMetadata">NodeMetadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1895415215163">Node metadata information, including the node name, creation time, and billing mode.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row139521620164"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p139541921165">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1595452151618"><a href="#EN-US_TOPIC_0000002341058362__response_NodeSpec">NodeSpec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p109547241613">Node description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row895214221611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p39546281612">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p189558211164"><a href="#EN-US_TOPIC_0000002341058362__response_NodeStatus">NodeStatus</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1795517210167">Node status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeMetadata"></a><a name="response_NodeMetadata"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeMetadata" frame="border" border="1" rules="all"><caption><b>Table 6 </b>NodeMetadata</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row199557211165"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p10956921164">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p79563221619">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p89563218168">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row695512281614"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p895614231611">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1295616219165">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p595618271616">Node name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row995512131614"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1595672181619">creationTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p195615201615">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1795642121614">Creation time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row4955127167"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p18956152191615">labels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p209561329169"><a href="#EN-US_TOPIC_0000002341058362__response_NodeLabels">NodeLabels</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p13957132121614">Label information of a node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row99551225164"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p295752171619">annotations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p139572023166"><a href="#EN-US_TOPIC_0000002341058362__response_NodeVOAnnotations">NodeVOAnnotations</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p179575241617">Node annotations.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeLabels"></a><a name="response_NodeLabels"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeLabels" frame="border" border="1" rules="all"><caption><b>Table 7 </b>NodeLabels</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row19957026165"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p10958625169">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p6958726162">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p29587251613">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row3957132121617"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p19582271614">os.modelarts.node/cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p12958112111614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p0958152161611">Name of the cluster where the node is located</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row69572271619"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p295811251617">os.modelarts.node/batch.uid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p2959142191619">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1495932171618">ID of a batch creation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row395715271611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p19959192151612">os.modelarts.node/batch.name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p695910211618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p595912181612">Name of a batch creation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row12957102111620"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1695992141615">os.modelarts.node/volcano.scheduler.cabinet-exclusive</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p99596221613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p139594221618">Whether the node is exclusively occupied by the job of the entire cabinet. If yes, the label exists and its value is the ID of the exclusive training job.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row19957162141617"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p119593281614">cce.kubectl.kubernetes.io/cabinet</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p49601129164">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1096092141611">IP address of the TOR switch where the node is located. Use hyphens (-) to separate multiple IP addresses.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeVOAnnotations"></a><a name="response_NodeVOAnnotations"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeVOAnnotations" frame="border" border="1" rules="all"><caption><b>Table 8 </b>NodeVOAnnotations</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row4960102171616"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p496052141613">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p19961182101618">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.8.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p13961102111616">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row1196020215161"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1096114221611">os.modelarts/npu-topology-placement</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1961142141615">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1196116221612">Topology of the 910 card placement. The bits are numbered from 0 to 15 from right to left. Bit 1 indicates that the card is occupied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1796072121611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p199612251613">os.modelarts.node/drain</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1696182141615">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1296152131616">Node drainage information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeSpec"></a><a name="response_NodeSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeSpec" frame="border" border="1" rules="all"><caption><b>Table 9 </b>NodeSpec</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row09611828164"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p20962142201614">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p89629241611">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p149621728161">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row496210211610"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p209621122163">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p5962182181611">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p59625219165">Node specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row20962127168"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p69625212161">hostNetwork</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p79632231613"><a href="#EN-US_TOPIC_0000002341058362__response_NodeNetwork">NodeNetwork</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1296317213160">Node network information</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeNetwork"></a><a name="response_NodeNetwork"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeNetwork" frame="border" border="1" rules="all"><caption><b>Table 10 </b>NodeNetwork</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row7963122191616"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p1196315215162">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p1196317251614">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.10.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p1296362141613">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row149634219169"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p19648211163">vpc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p10964132121612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p596419210161">VPC ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row179631218165"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1896462141610">subnet</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p5964192101617">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1596413213161">Subnet ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row59639241612"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p39643219165">securityGroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p149644220163">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p14964223165">Security group IDs</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeStatus"></a><a name="response_NodeStatus"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeStatus" frame="border" border="1" rules="all"><caption><b>Table 11 </b>NodeStatus</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row39651824160"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p1296518219165">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p1396518261620">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.11.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p096514281612">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row15965625167"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p09659211615">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p59669281614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p19966142141616">Node status. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul14966192151613"><li id="EN-US_TOPIC_0000002341058362__li15966226165"><p id="EN-US_TOPIC_0000002341058362__p1696618261612"><a name="EN-US_TOPIC_0000002341058362__li15966226165"></a><a name="li15966226165"></a><strong id="EN-US_TOPIC_0000002341058362__b99666218168">Available</strong>: The node is available.</p>
|
|
</li><li id="EN-US_TOPIC_0000002341058362__li19661219161"><p id="EN-US_TOPIC_0000002341058362__p129665281619"><a name="EN-US_TOPIC_0000002341058362__li19661219161"></a><a name="li19661219161"></a><strong id="EN-US_TOPIC_0000002341058362__b89661821167">Creating</strong>: The node is being created.</p>
|
|
</li><li id="EN-US_TOPIC_0000002341058362__li139663231612"><p id="EN-US_TOPIC_0000002341058362__p149662231615"><a name="EN-US_TOPIC_0000002341058362__li139663231612"></a><a name="li139663231612"></a><strong id="EN-US_TOPIC_0000002341058362__b20966122121620">Deleting</strong>: The node is being deleted.</p>
|
|
</li><li id="EN-US_TOPIC_0000002341058362__li89667216163"><p id="EN-US_TOPIC_0000002341058362__p496610201619"><a name="EN-US_TOPIC_0000002341058362__li89667216163"></a><a name="li89667216163"></a><strong id="EN-US_TOPIC_0000002341058362__b1396614221614">Abnormal</strong>: The node is not running properly.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1996511241613"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p129667261617">az</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p9966192121611">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p79661201614">AZ to which the node belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row39657220165"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p99663213167">privateIp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p4967626168">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1196722191620">IP address of a node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1596513219169"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p4967122151619">resources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p119676231614"><a href="#EN-US_TOPIC_0000002341058362__response_NodeResource">NodeResource</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p149671927167">Node resources</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row16965142111613"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p17967725160">availableResources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p8968325161"><a href="#EN-US_TOPIC_0000002341058362__response_NodeResource">NodeResource</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p14969132181615">Available node resources</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row13965627161"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p18969192111615">taints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1969122141618">Array of <a href="#EN-US_TOPIC_0000002341058362__response_Taint">Taint</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p39696221611">Node taints.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_NodeResource"></a><a name="response_NodeResource"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_NodeResource" frame="border" border="1" rules="all"><caption><b>Table 12 </b>NodeResource</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row1096917221614"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p197072141616">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p1897014221614">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.12.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p1397017217164">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row696942101611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p16970726169">cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p112513321610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p712511331617">CPUs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row1596912161616"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p6125193191617">memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p111261132162">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1512615319164">Memory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row197019215169"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p181267381613">nvidia.com/gpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p11261538162">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p112643131611">GPUs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002341058362__response_Taint"></a><a name="response_Taint"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_Taint" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Taint</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row169721229160"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.13.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p14126236168">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.13.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p2012623151614">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.13.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p31264319165">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row79721217163"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p111268311163">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1812683111619">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p121267319168">Taint key to be applied to the node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row59728261616"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p61266312167">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p1812619310166">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1812612321617">Taint value associated with the taint key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row7973132181617"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p31261320165">effect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p141261736167">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1512615351619">Impact of a taint on containers that do not tolerate it. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002341058362__ul4127134167"><li id="EN-US_TOPIC_0000002341058362__li9127638163"><p id="EN-US_TOPIC_0000002341058362__p101279361611"><a name="EN-US_TOPIC_0000002341058362__li9127638163"></a><a name="li9127638163"></a><strong id="EN-US_TOPIC_0000002341058362__b312713315167">NoSchedule</strong>: New pods cannot be scheduled to the node with this taint, but pods that have been running on the node can continue to run.</p>
|
|
</li><li id="EN-US_TOPIC_0000002341058362__li0127193181619"><p id="EN-US_TOPIC_0000002341058362__p312719312160"><a name="EN-US_TOPIC_0000002341058362__li0127193181619"></a><a name="li0127193181619"></a><strong id="EN-US_TOPIC_0000002341058362__b1912763191617">PreferNoSchedule</strong>: Do not schedule new pods to nodes with this taint. This is not completely forbidden.</p>
|
|
</li><li id="EN-US_TOPIC_0000002341058362__li312711351610"><p id="EN-US_TOPIC_0000002341058362__p51271535160"><a name="EN-US_TOPIC_0000002341058362__li312711351610"></a><a name="li312711351610"></a><strong id="EN-US_TOPIC_0000002341058362__b161274312162">NoExecute</strong>: Pods running on the node with this taint will be evicted if they cannot tolerate it.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row4973192161619"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p012713318166">timeAdded</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p8127203141616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p812719315160">Time when a taint is added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002341058362__p191278381610"><strong id="EN-US_TOPIC_0000002341058362__b112711314167">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__response_ErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row497418221611"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.15.2.4.1.1"><p id="EN-US_TOPIC_0000002341058362__p10127153201620">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.15.2.4.1.2"><p id="EN-US_TOPIC_0000002341058362__p12127531165">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.15.2.4.1.3"><p id="EN-US_TOPIC_0000002341058362__p2127436166">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row179741528161"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.15.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1127113131613">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.15.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p141276311618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.15.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p201271033168">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row13974220164"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.15.2.4.1.1 "><p id="EN-US_TOPIC_0000002341058362__p191273313163">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.15.2.4.1.2 "><p id="EN-US_TOPIC_0000002341058362__p212711311165">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.15.2.4.1.3 "><p id="EN-US_TOPIC_0000002341058362__p1127113191618">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section13127193101617"><h4 class="sectiontitle">Example Requests</h4><p id="EN-US_TOPIC_0000002341058362__p9128153181613">Obtain nodes in a resource pool.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002341058362__screen8128173141611">GET https://{endpoint}/v2/{project_id}/pools/{pool_name}/nodes
|
|
|
|
{ }</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section111282315165"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002341058362__p21282315165"><strong id="EN-US_TOPIC_0000002341058362__b201283341613">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002341058362__p7128534160">OK</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002341058362__screen31287341617">{
|
|
"kind" : "NodeList",
|
|
"apiVersion" : "v2",
|
|
"metadata" : { },
|
|
"items" : [ {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-zlncn",
|
|
"creationTimestamp" : "2022-09-16T05:32:44Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.1",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "2970m",
|
|
"memory" : "4558Mi"
|
|
}
|
|
}
|
|
}, {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-4s522",
|
|
"creationTimestamp" : "2022-09-16T03:20:53Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.2",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "2970m",
|
|
"memory" : "4558Mi"
|
|
}
|
|
}
|
|
}, {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-v7hfj",
|
|
"creationTimestamp" : "2022-09-16T09:16:37Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.3",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "3720m",
|
|
"memory" : "5670Mi"
|
|
}
|
|
}
|
|
} ]
|
|
}</pre>
|
|
<p id="EN-US_TOPIC_0000002341058362__p151298381619"><strong id="EN-US_TOPIC_0000002341058362__b16129203181617">Status code: 404</strong></p>
|
|
<p id="EN-US_TOPIC_0000002341058362__p1412920314166">Not found.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002341058362__screen11129635163">{
|
|
"error_code" : "ModelArts.50015001",
|
|
"error_msg" : "pool not found"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section313053191616"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002341058362__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002341058362__row199799271611"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002341058362__p1813063121614">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000002341058362__p1713012351615">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002341058362__row169795214167"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002341058362__p2130334169">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002341058362__p513019310162">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002341058362__row6979152101616"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002341058362__p1113015331611">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002341058362__p13130103121618">Not found.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002341058362__section14130038168"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002341058362__p151305311163">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="nodes_management.html">Node Management</a></div>
|
|
</div>
|
|
</div>
|
|
|