forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
633 lines
43 KiB
HTML
633 lines
43 KiB
HTML
<a name="cce_02_0322"></a><a name="cce_02_0322"></a>
|
|
|
|
<h1 class="topictitle1">Installing an Add-on Instance</h1>
|
|
<div id="body1595231617732"><div class="section" id="cce_02_0322__section592712481477"><h4 class="sectiontitle">Function</h4><p id="cce_02_0322__p1292819489713">This API is used to install an add-on instance by using the add-on template. One or more instances will be created for the installed add-on.</p>
|
|
<div class="note" id="cce_02_0322__note42209401757"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="cce_02_0322__p8220640955">The URL for add-on management is in the format of <strong id="cce_02_0322__b1124881120529">https://{clusterid}.Endpoint/uri.</strong> In the URL, <em id="cce_02_0322__i1485018501457">{clusterid}</em> indicates the cluster ID, and <em id="cce_02_0322__i198501050458">uri</em> indicates the resource path, that is, the path for API access.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="cce_02_0322__section79287481718"><h4 class="sectiontitle">URI</h4><p id="cce_02_0322__p17929204820720">POST /api/v3/addons</p>
|
|
</div>
|
|
<div class="section" id="cce_02_0322__section8930154813719"><h4 class="sectiontitle">Request</h4><p id="cce_02_0322__p1336123891910"><strong id="cce_02_0322__b41511511611">Request parameters:</strong></p>
|
|
<p id="cce_02_0322__p101045012193"><a href="#cce_02_0322__HeaderParameter">Table 1</a> lists the request parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__HeaderParameter"></a><a name="HeaderParameter"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the request header</caption><thead align="left"><tr id="cce_02_0322__cce_02_0236_row55001954122614"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.4.1.1"><p id="cce_02_0322__cce_02_0236_p115009545264">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.3.4.2.4.1.2"><p id="cce_02_0322__cce_02_0236_p175001547265">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="61%" id="mcps1.3.3.4.2.4.1.3"><p id="cce_02_0322__cce_02_0236_p16500154162611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__cce_02_0236_row199801811203412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.4.1.1 "><p id="cce_02_0322__cce_02_0236_p69808112344">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.4.2.4.1.2 "><p id="cce_02_0322__cce_02_0236_p3980111103414">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.4.2.4.1.3 "><p id="cce_02_0322__cce_02_0236_p169801011203416">Message body type (format). Possible values:</p>
|
|
<ul id="cce_02_0322__cce_02_0236_ul7385444163617"><li id="cce_02_0322__cce_02_0236_li18385114483612">application/json;charset=utf-8</li><li id="cce_02_0322__cce_02_0236_li3516132853714">application/json</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__cce_02_0236_row3500125412260"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.4.1.1 "><p id="cce_02_0322__cce_02_0236_p105001654202618">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.4.2.4.1.2 "><p id="cce_02_0322__cce_02_0236_p20500954182618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.4.2.4.1.3 "><p id="cce_02_0322__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"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request body</caption><thead align="left"><tr id="cce_02_0322__row119542487717"><th align="left" class="cellrowborder" valign="top" width="16.470000000000002%" id="mcps1.3.3.5.2.5.1.1"><p id="cce_02_0322__p6958154810714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.260000000000002%" id="mcps1.3.3.5.2.5.1.2"><p id="cce_02_0322__p173761159135210">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.32%" id="mcps1.3.3.5.2.5.1.3"><p id="cce_02_0322__p69592483714">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.949999999999996%" id="mcps1.3.3.5.2.5.1.4"><p id="cce_02_0322__p179607481978">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row195534816713"><td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0322__p159613480713">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.260000000000002%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0322__p2089971265312">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.32%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0322__p49628487711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0322__p199661648677">API type. The value is fixed at <strong id="cce_02_0322__b14586181816522">Addon</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row59554481671"><td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0322__p89671048679">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.260000000000002%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0322__p11899712165312">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.32%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0322__p18969184813710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0322__p897024815715">API version. The value is fixed at <strong id="cce_02_0322__b892072345211">v3</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row99552483717"><td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0322__p1097119489714">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.260000000000002%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0322__p12899171275311">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.32%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0322__p3972448871"><a href="#cce_02_0322__table12181142512286">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0322__p186461813011">Basic information about the add-on. Metadata is a collection of attributes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1395534813720"><td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.3.5.2.5.1.1 "><p id="cce_02_0322__p997519485712">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.260000000000002%" headers="mcps1.3.3.5.2.5.1.2 "><p id="cce_02_0322__p178990129538">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.32%" headers="mcps1.3.3.5.2.5.1.3 "><p id="cce_02_0322__p4976174810710"><a href="#cce_02_0322__instancerequestspec">spec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.5.2.5.1.4 "><p id="cce_02_0322__p597713489716">Detailed description of add-on installation or upgrade.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__table12181142512286"></a><a name="table12181142512286"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__table12181142512286" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Data structure of the metadata field</caption><thead align="left"><tr id="cce_02_0322__row1018132514288"><th align="left" class="cellrowborder" valign="top" width="20.380000000000003%" id="mcps1.3.3.6.2.5.1.1"><p id="cce_02_0322__p7181125202810">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.790000000000001%" id="mcps1.3.3.6.2.5.1.2"><p id="cce_02_0322__p1618112520289">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.879999999999999%" id="mcps1.3.3.6.2.5.1.3"><p id="cce_02_0322__p16181725162814">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.949999999999996%" id="mcps1.3.3.6.2.5.1.4"><p id="cce_02_0322__p718102512817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row1518219254287"><td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.3.6.2.5.1.1 "><p id="cce_02_0322__p410314484257">annotations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.790000000000001%" headers="mcps1.3.3.6.2.5.1.2 "><p id="cce_02_0322__p1362154872514">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.879999999999999%" headers="mcps1.3.3.6.2.5.1.3 "><p id="cce_02_0322__p13842281317">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.6.2.5.1.4 "><p id="cce_02_0322__p13115136192616">Add-on annotations in the format of key-value pairs.</p>
|
|
<p id="cce_02_0322__p199616519454">For add-on installation, the value is fixed at <strong id="cce_02_0322__b12311640142918">{"addon.install/type":"install"}</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__instancerequestspec"></a><a name="instancerequestspec"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__instancerequestspec" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure of the spec field</caption><thead align="left"><tr id="cce_02_0322__row39791448178"><th align="left" class="cellrowborder" valign="top" width="20.380000000000003%" id="mcps1.3.3.7.2.5.1.1"><p id="cce_02_0322__p09821648578">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.790000000000001%" id="mcps1.3.3.7.2.5.1.2"><p id="cce_02_0322__p173129382537">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.879999999999999%" id="mcps1.3.3.7.2.5.1.3"><p id="cce_02_0322__p398317488716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.949999999999996%" id="mcps1.3.3.7.2.5.1.4"><p id="cce_02_0322__p09841248377">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row59809481715"><td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0322__p1898818487713">clusterID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.790000000000001%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0322__p3511184818532">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.879999999999999%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0322__p199888481471">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0322__p1198919481710">Cluster ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row584716145218"><td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0322__p128481714423">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.790000000000001%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0322__p284818145210">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.879999999999999%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0322__p18481914124">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0322__p16987174816719">Version number of the add-on to be installed or upgraded, for example, v1.0.0.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1262711314316"><td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0322__p166274134318">addonTemplateName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.790000000000001%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0322__p86271213637">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.879999999999999%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0322__p1862713131933">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0322__p1899516487714">Name of the add-on template to be installed, for example, coredns.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row298084819719"><td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.3.7.2.5.1.1 "><p id="cce_02_0322__p699014481574">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.790000000000001%" headers="mcps1.3.3.7.2.5.1.2 "><p id="cce_02_0322__p19511248185314">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.879999999999999%" headers="mcps1.3.3.7.2.5.1.3 "><p id="cce_02_0322__p19990144820711">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.3.7.2.5.1.4 "><p id="cce_02_0322__p10670163517375">Add-on template installation parameters (varying depending on the add-on). During the add-on upgrade, you need to specify all the installation parameters. If the parameters are not specified, the default values in the add-on template are used. The current add-on installation parameters can be obtained through the API for querying add-on instances.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__table634384511511"></a><a name="table634384511511"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__table634384511511" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure of the values field</caption><thead align="left"><tr id="cce_02_0322__row93431945157"><th align="left" class="cellrowborder" valign="top" width="15.21%" id="mcps1.3.3.8.2.5.1.1"><p id="cce_02_0322__p334334519514">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.19%" id="mcps1.3.3.8.2.5.1.2"><p id="cce_02_0322__p15343154516519">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.259999999999998%" id="mcps1.3.3.8.2.5.1.3"><p id="cce_02_0322__p934420451757">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="52.339999999999996%" id="mcps1.3.3.8.2.5.1.4"><p id="cce_02_0322__p934464520518">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row8344845356"><td class="cellrowborder" valign="top" width="15.21%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0322__p434411453516">basic</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.19%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0322__p173448456514">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.259999999999998%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0322__p934454513515">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.339999999999996%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0322__p368203111208">Basic add-on information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row691103781415"><td class="cellrowborder" valign="top" width="15.21%" headers="mcps1.3.3.8.2.5.1.1 "><p id="cce_02_0322__p29103713149">custom</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.19%" headers="mcps1.3.3.8.2.5.1.2 "><p id="cce_02_0322__p49203771410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.259999999999998%" headers="mcps1.3.3.8.2.5.1.3 "><p id="cce_02_0322__p49216379141">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.339999999999996%" headers="mcps1.3.3.8.2.5.1.4 "><p id="cce_02_0322__p2920377147">Custom parameters of the add-on.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0322__p126631842202017"><strong id="cce_02_0322__b1028011916162">Example request:</strong></p>
|
|
<pre class="screen" id="cce_02_0322__screen1058452113511">{
|
|
"metadata": {
|
|
"annotations": {
|
|
"addon.install/type": "install"
|
|
}
|
|
},
|
|
"spec": {
|
|
"clusterID": "9dd81b6e-e8e5-11ea-8aeb-0255ac11161d",
|
|
"version": "1.1.10",
|
|
"addonTemplateName": "gpu-beta",
|
|
"values": {
|
|
"basic": {
|
|
"obs_url": "obs.eu-de.otc.t-systems.com",
|
|
"region": "eu-de",
|
|
"swr_addr": "10.125.7.25:20202",
|
|
"swr_user": "test",
|
|
"rbac_enabled": true
|
|
},
|
|
"custom": {
|
|
"is_driver_from_nvidia": true,
|
|
"nvidia_driver_download_url": "https://us.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run"
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="cce_02_0322__section10996248672"><h4 class="sectiontitle">Response</h4><p id="cce_02_0322__p237482372119"><strong id="cce_02_0322__b965767123816">Response parameters:</strong></p>
|
|
<p id="cce_02_0322__p1969359162010">For the description about response parameters, see <a href="#cce_02_0322__responseParameter">Table 6</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__responseParameter"></a><a name="responseParameter"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Parameters in the response body</caption><thead align="left"><tr id="cce_02_0322__row1399914481277"><th align="left" class="cellrowborder" valign="top" width="23.05%" id="mcps1.3.4.4.2.4.1.1"><p id="cce_02_0322__p151449979">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.14%" id="mcps1.3.4.4.2.4.1.2"><p id="cce_02_0322__p62049978">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.81%" id="mcps1.3.4.4.2.4.1.3"><p id="cce_02_0322__p939497717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row139995489718"><td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0322__p74549672">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.14%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0322__p1951249076">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.81%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0322__p864491718">API type. The value is fixed at <strong id="cce_02_0322__b201544151252">Addon</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row10549478"><td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0322__p271249474">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.14%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0322__p2070491873">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.81%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0322__p591249673">API version. The value is fixed at <strong id="cce_02_0322__b63946201353">v3</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1704497713"><td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0322__p191010491071">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.14%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0322__p81117494719"><a href="#cce_02_0322__response_metadata">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.81%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0322__p19131949371">Basic information about the add-on. Metadata is a collection of attributes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row30149176"><td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0322__p7141449474">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.14%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0322__p2151049772"><a href="#cce_02_0322__response_instanceSpec">spec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.81%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0322__p116154914718">Detailed description of the add-on instance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row12014492720"><td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cce_02_0322__p71714494710">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.14%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cce_02_0322__p1218349175"><a href="#cce_02_0322__response_status">status</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.81%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cce_02_0322__p21910491473">Add-on instance status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__response_metadata"></a><a name="response_metadata"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__response_metadata" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Data structure of the metadata field</caption><thead align="left"><tr id="cce_02_0322__row612814920717"><th align="left" class="cellrowborder" valign="top" width="20.39%" id="mcps1.3.4.5.2.4.1.1"><p id="cce_02_0322__p053412504717">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.63%" id="mcps1.3.4.5.2.4.1.2"><p id="cce_02_0322__p1053585017713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.98%" id="mcps1.3.4.5.2.4.1.3"><p id="cce_02_0322__p10535135014714">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row121299491775"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p2053519501774">uid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p4535650777">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p45355508720">Unique ID of the add-on.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row19129249876"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p19536155015714">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p115361501479">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p453665013717">Add-on name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1312918492718"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p8536185014716">labels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p08905564319">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p135361450471">Add-on labels in the format of key-value pairs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row111295491277"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p553710508710">annotations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p153841659163118">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p1553712501474">Add-on annotations in the format of key-value pairs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row612974915713"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p145376505718">updateTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p195387504711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p35386503719">Time when the add-on was updated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row21303491177"><td class="cellrowborder" valign="top" width="20.39%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cce_02_0322__p85382501573">creationTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.63%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cce_02_0322__p10538750077">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.98%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cce_02_0322__p65392506716">Time when the add-on was created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__response_instanceSpec"></a><a name="response_instanceSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__response_instanceSpec" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Data structure of the spec field</caption><thead align="left"><tr id="cce_02_0322__row2934491475"><th align="left" class="cellrowborder" valign="top" width="20.76%" id="mcps1.3.4.6.2.4.1.1"><p id="cce_02_0322__p2097114915720">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.68%" id="mcps1.3.4.6.2.4.1.2"><p id="cce_02_0322__p5986491711">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.56%" id="mcps1.3.4.6.2.4.1.3"><p id="cce_02_0322__p69919492720">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row893104917720"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p9104114914710">clusterID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p210512491779">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p210719494712">Cluster ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row6933491572"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p111075491975">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p10108174914718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p210917491278">Add-on template version, for example, v1.0.0.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1194194911719"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p141101149675">addonTemplateName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p12110124910716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p17112144914711">Add-on template name, for example, coredns.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row2944493716"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p911324910719">addonTemplateType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p15113154911719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p201151549179">Add-on template type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row6940499712"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p81152493718">addonTemplateLabels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p1711618491372">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p2117174912717">Group to which the add-on template belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row11485205015711"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p4486155055718">addonTemplateLogo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p18486165018570">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p116932013135815">OBS address of the current add-on logo.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row129516491176"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p81188499718">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p171217491179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p4122164918716">Add-on template description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row3951349875"><td class="cellrowborder" valign="top" width="20.76%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cce_02_0322__p161222498716">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.68%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cce_02_0322__p55333507718">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cce_02_0322__p115348501975">Add-on template installation parameters. These parameters vary depending on the add-on.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__response_status"></a><a name="response_status"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__response_status" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Data structure of the status field</caption><thead align="left"><tr id="cce_02_0322__row102118492713"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.4.7.2.4.1.1"><p id="cce_02_0322__p1125194918720">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.4.7.2.4.1.2"><p id="cce_02_0322__p92515491073">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.4.7.2.4.1.3"><p id="cce_02_0322__p14266491275">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row152234915711"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0322__p172717497719">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0322__p828104910714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0322__p6298492710">Add-on instance status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1622134914718"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0322__p123011491678">Reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0322__p13044913719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0322__p12322491715">Cause of unsuccessful add-on installation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row9221049679"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0322__p153214913718">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0322__p6330491979">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0322__p834049673">Installation error details.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row92213491178"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0322__p0355491714">targetVersions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0322__p6363496720">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0322__p93714495711">Versions to which the current add-on version can be upgraded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row22313493710"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cce_02_0322__p73716491719">currentVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cce_02_0322__p13385491275"><a href="#cce_02_0322__response_versions">currentVersion</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cce_02_0322__p239749079">Current version of the add-on instance.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__response_versions"></a><a name="response_versions"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__response_versions" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Data structure of the currentVersion field</caption><thead align="left"><tr id="cce_02_0322__row74013491973"><th align="left" class="cellrowborder" valign="top" width="22.28%" id="mcps1.3.4.8.2.4.1.1"><p id="cce_02_0322__p13430491971">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.189999999999998%" id="mcps1.3.4.8.2.4.1.2"><p id="cce_02_0322__p944134913719">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.53%" id="mcps1.3.4.8.2.4.1.3"><p id="cce_02_0322__p15472495713">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row5406491177"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p44713491971">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p548154913719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p2507492070">Add-on version.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1541249775"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p19518491176">input</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p9517491674">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p17551491676">Add-on installation parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row1413491777"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p1455549171">stable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p1256194917712">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p36210491178">Whether the add-on version is a stable release.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row8412049971"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p126214494711">translate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p963349876">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p19651549477">Translation information used by the GUI.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row941049877"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p966154916720">supportVersions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p116734915710">Array of <a href="#cce_02_0322__response_supportVersions">supportVersions</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p107018492071">Cluster versions that support the add-on.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row241449670"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p87112494713">creationTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p20729496713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p14741492077">Time when the add-on was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row34204918717"><td class="cellrowborder" valign="top" width="22.28%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cce_02_0322__p175849472">updateTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.189999999999998%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cce_02_0322__p1575249778">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.53%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cce_02_0322__p137813491179">Time when the add-on was updated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0322__response_supportVersions"></a><a name="response_supportVersions"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__response_supportVersions" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Data structure of the supportVersions field</caption><thead align="left"><tr id="cce_02_0322__row5793491475"><th align="left" class="cellrowborder" valign="top" width="20.919999999999998%" id="mcps1.3.4.9.2.4.1.1"><p id="cce_02_0322__p1081144916715">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.380000000000003%" id="mcps1.3.4.9.2.4.1.2"><p id="cce_02_0322__p88219499719">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.699999999999996%" id="mcps1.3.4.9.2.4.1.3"><p id="cce_02_0322__p13832049170">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row5368164891514"><td class="cellrowborder" valign="top" width="20.919999999999998%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0322__p1636944811151">clusterType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0322__p1836916480158">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.699999999999996%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0322__p12866494716">Cluster type that supports the add-on.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0322__row2801449877"><td class="cellrowborder" valign="top" width="20.919999999999998%" headers="mcps1.3.4.9.2.4.1.1 "><p id="cce_02_0322__p1157818971617">clusterVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.380000000000003%" headers="mcps1.3.4.9.2.4.1.2 "><p id="cce_02_0322__p1557814941615">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.699999999999996%" headers="mcps1.3.4.9.2.4.1.3 "><p id="cce_02_0322__p890184917715">Cluster versions that support the add-on. The parameter value is a regular expression.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0322__p2212440152216"><strong id="cce_02_0322__b20398152645717">Example response:</strong></p>
|
|
<pre class="screen" id="cce_02_0322__screen115991336733">{
|
|
"kind": "Addon",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"uid": "b6ba182c-f7c5-11ea-a975-0255ac111605",
|
|
"name": "gpu-beta",
|
|
"creationTimestamp": "2020-09-16T02:38:33Z",
|
|
"updateTimestamp": "2020-09-16T02:38:33Z"
|
|
},
|
|
"spec": {
|
|
"clusterID": "9dd81b6e-e8e5-11ea-8aeb-0255ac11161d",
|
|
"version": "1.1.10",
|
|
"addonTemplateName": "gpu-beta",
|
|
"addonTemplateType": "helm",
|
|
"addonTemplateLogo": "https://obs.eu-de.otc.t-systems.com/cce-addon-eu-de-aw1hz2u/gpu-betalogo.svg",
|
|
"addonTemplateLabels": [
|
|
"Accelerator"
|
|
],
|
|
"description": "A device plugin for nvidia.com/gpu resource on nvidia driver",
|
|
"values": {
|
|
"basic": {
|
|
"obs_url": "obs.eu-de.otc.t-systems.com",
|
|
"platform": "linux-amd64",
|
|
"rbac_enabled": true,
|
|
"region": "eu-de",
|
|
"swr_addr": "10.125.7.25:20202",
|
|
"swr_user": "test"
|
|
},
|
|
"custom": {
|
|
"is_driver_from_nvidia": true,
|
|
"nvidia_driver_download_url": "https://us.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run"
|
|
}
|
|
}
|
|
},
|
|
"status": {
|
|
"status": "installing",
|
|
"Reason": "",
|
|
"message": "",
|
|
"targetVersions": null,
|
|
"currentVersion": {
|
|
"version": "1.1.10",
|
|
"input": {
|
|
"basic": {
|
|
"obs_url": "obs.eu-de.otc.t-systems.com",
|
|
"region": "eu-de",
|
|
"swr_addr": "10.125.7.25:20202",
|
|
"swr_user": "test"
|
|
},
|
|
"parameters": {
|
|
"custom": {
|
|
"is_driver_from_nvidia": true,
|
|
"nvidia_driver_download_url": ""
|
|
}
|
|
}
|
|
},
|
|
"stable": true,
|
|
"translate": {
|
|
"en_US": {
|
|
"addon": {
|
|
"changeLog": "1.Supports both the default driver link address and the user-definable driver address download driver 2.Support kubernetes 1.15/1.17",
|
|
"description": "A device plugin for nvidia.com/gpu resource on nvidia driver"
|
|
},
|
|
"description": {
|
|
"Parameters.custom.drivers_info.cuda": "CUDA Toolkit",
|
|
"Parameters.custom.drivers_info.product": "Product",
|
|
"Parameters.custom.drivers_info.product_series": "Product Series",
|
|
"Parameters.custom.drivers_info.product_type": "Product Type",
|
|
"Parameters.custom.nvidia_driver_download_url": "Download the nvidia driver accroding to the input link"
|
|
},
|
|
"key": {
|
|
"Parameters.custom.nvidia_driver_download_url": "Nvidia Driver"
|
|
}
|
|
}
|
|
},
|
|
"supportVersions": null,
|
|
"creationTimestamp": "2020-08-21T08:25:51Z",
|
|
"updateTimestamp": "2020-08-28T12:21:11Z"
|
|
}
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="cce_02_0322__section55496505712"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0322__en-us_topic_0079614900_table46761928" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Status codes</caption><thead align="left"><tr id="cce_02_0322__en-us_topic_0079614900_row33254664"><th align="left" class="cellrowborder" valign="top" width="19.96%" id="mcps1.3.5.2.2.3.1.1"><p id="cce_02_0322__p55616028205955">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="80.04%" id="mcps1.3.5.2.2.3.1.2"><p id="cce_02_0322__p8604418205955">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0322__row176274101210"><td class="cellrowborder" valign="top" width="19.96%" headers="mcps1.3.5.2.2.3.1.1 "><p id="cce_02_0322__p46285101728">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.04%" headers="mcps1.3.5.2.2.3.1.2 "><p id="cce_02_0322__p126288106215">OK</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cce_02_0322__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_0320.html">Add-on Management</a></div>
|
|
</div>
|
|
</div>
|
|
|