Files
doc-exports/docs/cce/api-ref/cce_02_0422.html
qiujiandong1 5d711fd34a CCE API 20250311 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-07-17 10:46:59 +00:00

419 lines
34 KiB
HTML

<a name="cce_02_0422"></a><a name="cce_02_0422"></a>
<h1 class="topictitle1">Cloud Native Log Collection</h1>
<div id="body32001227"><div class="section" id="cce_02_0422__en-us_topic_0000001834767029_section5841216112318"><h4 class="sectiontitle">Add-on Overview</h4><p id="cce_02_0422__en-us_topic_0000001834767029_p15662154295114">The Cloud Native Logging add-on (log-agent) is developed based on Fluent Bit and OpenTelemetry for collecting logs and Kubernetes events. This add-on supports CRD-based log collection policies. It collects and forwards standard output logs, container file logs, node logs, and Kubernetes event logs in a cluster based on configured policies. It also reports Kubernetes events to AOM for configuring event alarms. By default, all abnormal events and some normal events are reported.</p>
</div>
<div class="section" id="cce_02_0422__en-us_topic_0000001834767029_section13564204912269"><h4 class="sectiontitle">Add-on Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0422__en-us_topic_0000001834767029_table7237514152812" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="cce_02_0422__en-us_topic_0000001834767029_row152371514142818"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.2.2.5.1.1"><p id="cce_02_0422__en-us_topic_0000001834767029_p8237101412810">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.2.2.2.5.1.2"><p id="cce_02_0422__en-us_topic_0000001834767029_p4237131416284">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.2.2.2.5.1.3"><p id="cce_02_0422__en-us_topic_0000001834767029_p15237171413287">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.82%" id="mcps1.3.2.2.2.5.1.4"><p id="cce_02_0422__en-us_topic_0000001834767029_p1237171432815">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0422__en-us_topic_0000001834767029_row4237101416283"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p3237141418281">basic</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.2.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p723710140287">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.2.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1237111472817">object</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.2.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1723741413286">Basic configuration parameters, which do not need to be specified</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row112371214112815"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p12237814102816">flavor</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.2.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p162375146285">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.2.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p523731410289"><a href="#cce_02_0422__en-us_topic_0000001834767029_table8149147344">Table 2</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.2.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p423721402811">Flavor parameters</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row5237914182816"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p112371214132813">custom</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.2.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p192371914182813">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.2.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p4237181416289"><a href="#cce_02_0422__en-us_topic_0000001834767029_table109631116113412">Table 3</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.2.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p02371514192810">Custom parameters</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cce_02_0422__en-us_topic_0000001834767029_table8149147344"></a><a name="en-us_topic_0000001834767029_table8149147344"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0422__en-us_topic_0000001834767029_table8149147344" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuration of flavor</caption><thead align="left"><tr id="cce_02_0422__en-us_topic_0000001834767029_row2014214123415"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.3.2.5.1.1"><p id="cce_02_0422__en-us_topic_0000001834767029_p11141314163419">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.2.3.2.5.1.2"><p id="cce_02_0422__en-us_topic_0000001834767029_p1314121443418">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.2.3.2.5.1.3"><p id="cce_02_0422__en-us_topic_0000001834767029_p201412148342">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.82%" id="mcps1.3.2.3.2.5.1.4"><p id="cce_02_0422__en-us_topic_0000001834767029_p101414142344">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0422__en-us_topic_0000001834767029_row121471493417"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p453114559345">description</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p614121423419">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1114114143415">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p18144148344">Add-on description</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1614101463413"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p18530165511346">name</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p31451413342">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p20142143343">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1314314143410">Add-on specification name. The value is fixed at <strong id="cce_02_0422__en-us_topic_0000001834767029_b1582013542439">Single-instance</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1514131419347"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p85051552340">replicas</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1014114183417">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p16141714163415">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p514714143416">Number of otel-collector component instances. The default value is <strong id="cce_02_0422__en-us_topic_0000001834767029_b82261035191219">1</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1320482115386"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p6204221103813">resources</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p14204122123813">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p15204921153814"><a href="#cce_02_0422__en-us_topic_0000001834767029_table136520220346">resources</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1520482113810">Container resource (CPU and memory) quotas</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cce_02_0422__en-us_topic_0000001834767029_table109631116113412"></a><a name="en-us_topic_0000001834767029_table109631116113412"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0422__en-us_topic_0000001834767029_table109631116113412" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Configuration of custom</caption><thead align="left"><tr id="cce_02_0422__en-us_topic_0000001834767029_row1696361663418"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.4.2.5.1.1"><p id="cce_02_0422__en-us_topic_0000001834767029_p79633167341">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.2.4.2.5.1.2"><p id="cce_02_0422__en-us_topic_0000001834767029_p139631416173412">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.2.4.2.5.1.3"><p id="cce_02_0422__en-us_topic_0000001834767029_p17963111616348">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.82%" id="mcps1.3.2.4.2.5.1.4"><p id="cce_02_0422__en-us_topic_0000001834767029_p1696351619347">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0422__en-us_topic_0000001834767029_row196318165349"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p06393538345">caCert</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p169631416103416">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p4963016153419">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p3396435443">Specifies a client certificate, which is encrypted using Base64. This parameter is optional during installation. It is generated by the CCE add-on center and used for two-way authentication between components and webhook requests.</p>
<p id="cce_02_0422__en-us_topic_0000001834767029_p16882545192">Domain name to be issued: <strong id="cce_02_0422__en-us_topic_0000001834767029_b1515155291313">*.monitoring.svc</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row15335429142011"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p233552912015">serverCert</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1733518297201">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p93351729182017">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p19335729172016">Specifies a server certificate, which is encrypted using Base64. This parameter is optional during installation. It is generated by CCE add-ons and used for two-way authentication between components and webhook requests. Domain name to be issued: <strong id="cce_02_0422__en-us_topic_0000001834767029_b10774438153310">*.monitoring.svc</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row17450170112220"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p94504012224">serverKey</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p194501605224">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p16450160132213">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p12450160192210">Specifies the private key of a server, which is encrypted using Base64. This parameter is optional during installation. It is generated by CCE add-ons and used for two-way authentication between components and webhook requests. Domain name to be issued: <strong id="cce_02_0422__en-us_topic_0000001834767029_b14152164383316">*.monitoring.svc</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row341894102412"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p10419114192417">accessKey</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p14419114192417">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p14419194119249">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p44191641172417">Specifies the access key ID of a user, which is used to request AOM and LTS APIs. If this parameter is left blank, a temporary AK/SK is used.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row7675134232417"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1367694282419">secretKey</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p14676174272412">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p967614219245">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p4676942132417">Specifies the access key of a user, which is used to request AOM and LTS APIs. If this parameter is left blank, a temporary AK/SK is used.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row18415543122419"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p15415174382420">createDefaultStdout</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p13415343132415">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1241544392420">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p341524313247">Specifies whether to create the default policy for collecting container standard output logs and reporting them to LTS. This parameter is valid only after it is specified during the add-on installation. The default value is <strong id="cce_02_0422__en-us_topic_0000001834767029_b6712151222817">false</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row7102520102810"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p510314206287">createDefaultEvent</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1810362062810">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p71031520102819">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p510314201281">Specifies whether to create the default policy for collecting Kubernetes events and reporting them to LTS. This parameter is valid only after it is specified during the add-on installation. The default value is <strong id="cce_02_0422__en-us_topic_0000001834767029_b1676144617316">false</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row846335142915"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p10463451132910">multiAZEnabled</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p94631751182910">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p6463451112914">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1446315122917">Specifies whether to deploy the add-on pods in multiple AZs. The default value is <strong id="cce_02_0422__en-us_topic_0000001834767029_b185933265203">false</strong>. If this parameter is set to <strong id="cce_02_0422__en-us_topic_0000001834767029_b828983816205">true</strong>, cross-AZ deployment is forcibly performed. If this parameter is set to <strong id="cce_02_0422__en-us_topic_0000001834767029_b2409175312207">false</strong>, cross-AZ deployment is preferred.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row049712501321"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p349735010329">cluster_category</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p14971450193214">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1149712509328">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p13497450173211">The value is fixed at <strong id="cce_02_0422__en-us_topic_0000001834767029_b1949063432120">CCE</strong>.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row882181473317"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p982214133314">ltsAccessEndpoint</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p08221463315">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p382101453319">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1482121423319">Specifies the address for reporting logs to LTS. If this parameter is left blank, the address specified in <strong id="cce_02_0422__en-us_topic_0000001834767029_b0933121443319">basic</strong> is used.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row27951544336"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p279595411338">ltsEndpoint</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1979516544333">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1879545416339">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p67951454113310">Specifies the address of the LTS APIs. If this parameter is left blank, the address specified in <strong id="cce_02_0422__en-us_topic_0000001834767029_b1512671715345">basic</strong> is used.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row13571202013413"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1557152093414">aomEndpoint</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p19571172013417">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p65711920143417">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1357112033411">Specifies the address for reporting events to AOM. If this parameter is left blank, the address specified in <strong id="cce_02_0422__en-us_topic_0000001834767029_b173963451346">basic</strong> is used.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row439174373418"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p7391204313418">projectID</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p6391134312349">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p183911643113412">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p039114363412">Specifies the ID of the project to which the current CCE cluster belongs. This parameter is optional during installation.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1720111117352"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p192017110354">clusterID</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p820151133517">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p1520191116355">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p320111173516">Specifies the ID of the current CCE cluster. This parameter is optional during installation.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row143217292359"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p73212029113514">clusterName</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p5321102923515">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p0321132943515">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p832132933511">Specifies the name of the current CCE cluster.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cce_02_0422__en-us_topic_0000001834767029_table136520220346"></a><a name="en-us_topic_0000001834767029_table136520220346"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0422__en-us_topic_0000001834767029_table136520220346" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure of the resources field</caption><thead align="left"><tr id="cce_02_0422__en-us_topic_0000001834767029_row665212223419"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.5.2.5.1.1"><p id="cce_02_0422__en-us_topic_0000001834767029_p206521822183413">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.2.5.2.5.1.2"><p id="cce_02_0422__en-us_topic_0000001834767029_p7652202219346">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.2.5.2.5.1.3"><p id="cce_02_0422__en-us_topic_0000001834767029_p465212233417">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.82%" id="mcps1.3.2.5.2.5.1.4"><p id="cce_02_0422__en-us_topic_0000001834767029_p12652132216348">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0422__en-us_topic_0000001834767029_row1965252203413"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p290761215395">limitsCpu</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.5.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p165217221342">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.5.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p024818327510">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.5.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p950122712488">CPU size limit (unit: m)</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1265362211348"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p199071412173919">limitsMem</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.5.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p965319224347">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.5.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p22481532185116">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.5.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p11653822173411">Memory size limit (unit: Mi)</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row16121539104016"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p126126399406">name</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.5.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p126121839134010">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.5.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p132481322511">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.5.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p8562103914167">Component name. Options:</p>
<p id="cce_02_0422__en-us_topic_0000001834767029_p3612139114012"><strong id="cce_02_0422__en-us_topic_0000001834767029_b711019206453">fluent-bit</strong>: component for collecting node logs</p>
<p id="cce_02_0422__en-us_topic_0000001834767029_p18292111716178"><strong id="cce_02_0422__en-us_topic_0000001834767029_b0151270479">cop-logs</strong>: generates soft links for collected files on each node.</p>
<p id="cce_02_0422__en-us_topic_0000001834767029_p326004381715"><strong id="cce_02_0422__en-us_topic_0000001834767029_b513417348474">log-operator</strong>: generates fluent-bit and otel-collector configurations.</p>
<p id="cce_02_0422__en-us_topic_0000001834767029_p192871131811"><strong id="cce_02_0422__en-us_topic_0000001834767029_b450211435614">otel-collector</strong>: reports collected logs and events to AOM and LTS.</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row113481236124011"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p9348133617407">requestsCpu</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.5.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p134893611405">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.5.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p192481532205113">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.5.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p3348153617405">Requested CPU size (unit: m)</p>
</td>
</tr>
<tr id="cce_02_0422__en-us_topic_0000001834767029_row1665362213412"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0422__en-us_topic_0000001834767029_p129061012153914">requestsMem</p>
</td>
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.5.2.5.1.2 "><p id="cce_02_0422__en-us_topic_0000001834767029_p36531122163418">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.5.2.5.1.3 "><p id="cce_02_0422__en-us_topic_0000001834767029_p12248193210518">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.5.2.5.1.4 "><p id="cce_02_0422__en-us_topic_0000001834767029_p565362293414">Requested memory size (unit: Mi)</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cce_02_0422__en-us_topic_0000001834767029_section5790442114119"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="cce_02_0422__en-us_topic_0000001834767029_screen13762558164116">{
"kind": "Addon",
"apiVersion": "v3",
"metadata": {
"annotations": {
"addon.install/type": "install"
}
},
"spec": {
"clusterID": "ccbe7bdf-4**9-3**b-b**4-0********78",
"version": "1.4.4",
"addonTemplateName": "log-agent",
"values": {
"basic": {
"aomEndpoint": "https://***",
"iam_url": "***",
"ltsAccessEndpoint": "https://***:8102",
"ltsEndpoint": "https://***",
"region": "***",
"swr_addr": "***",
"swr_user": "***",
"rbac_enabled": true,
"cluster_version": "v1.25"
},
"flavor": {
"description": "Recommanded when the number of logs per second does not exceed 5000.",
"name": "Low",
"replicas": 1,
"resources": [
{
"limitsCpu": "500m",
"limitsMem": "500Mi",
"name": "fluent-bit",
"requestsCpu": "100m",
"requestsMem": "200Mi"
},
{
"limitsCpu": 1,
"limitsMem": "500Mi",
"name": "cop-logs",
"requestsCpu": "100m",
"requestsMem": "100Mi"
},
{
"limitsCpu": "500m",
"limitsMem": "500Mi",
"name": "log-operator",
"requestsCpu": "100m",
"requestsMem": "100Mi"
},
{
"limitsCpu": 1,
"limitsMem": "2Gi",
"name": "otel-collector",
"requestsCpu": "200m",
"requestsMem": "1Gi"
}
],
"category": [
"CCE",
"Turbo"
]
},
"custom": {
"accessKey": "",
"aomEndpoint": "https://***",
"aomPrivateEndpointIP": "",
"caCert": "",
"clusterID": "",
"clusterName": "clusterName",
"cluster_category": "CCE",
"createAudit": false,
"createDefaultEvent": false,
"createDefaultEventToAOM": true,
"createDefaultStdout": false,
"createKubeApiserver": false,
"createKubeControllerManager": false,
"createKubeScheduler": false,
"ltsAccessEndpoint": "https://***:8102",
"ltsAuditStreamID": "",
"ltsEndpoint": "https://***",
"ltsEventStreamID": "",
"ltsGroupID": "",
"ltsKubeApiserverStreamID": "",
"ltsKubeControllerManagerStreamID": "",
"ltsKubeSchedulerStreamID": "",
"ltsLogReportDomain": "",
"ltsPrivateEndpointIP": "",
"ltsStdoutStreamID": "",
"multiAZEnabled": false,
"paasakskEnable": true,
"projectID": "",
"secretKey": "",
"securityToken": "",
"serverCert": "",
"serverKey": ""
}
}
}
}</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_02_0366.html">Add-on Instance Parameters</a></div>
</div>
</div>