forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
458 lines
34 KiB
HTML
458 lines
34 KiB
HTML
<a name="cce_02_0407"></a><a name="cce_02_0407"></a>
|
|
|
|
<h1 class="topictitle1">CoreDNS</h1>
|
|
<div id="body32001227"><div class="section" id="cce_02_0407__en-us_topic_0000001787884190_section5841216112318"><h4 class="sectiontitle">Add-on Overview</h4><p id="cce_02_0407__en-us_topic_0000001787884190_p169732040182315">CoreDNS is a DNS server that uses chain plug-ins to provide domain name resolution services for Kubernetes clusters. It is the recommended DNS server solution by the Kubernetes community.</p>
|
|
</div>
|
|
<div class="section" id="cce_02_0407__en-us_topic_0000001787884190_section13564204912269"><h4 class="sectiontitle">Add-on Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table7237514152812" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row152371514142818"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.2.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p1237171432815">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row4237101416283"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p1723741413286">Basic configuration parameters, which do not need to be specified</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row112371214112815"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p523731410289"><a href="#cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p423721402811">Flavor parameters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row5237914182816"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.2.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p4237181416289"><a href="#cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p02371514192810">Custom parameters</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table8149147344"></a><a name="en-us_topic_0000001787884190_table8149147344"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table8149147344" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuration of flavor</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row2014214123415"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.3.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p101414142344">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row1514131419347"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p16141714163415">int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p514714143416">Number of pods. The default value is <strong id="cce_02_0407__en-us_topic_0000001787884190_b62011259162212">2</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1320482115386"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p15204921153814">Array of <a href="#cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p1520482113810">Container resource (CPU and memory) quotas</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table109631116113412"></a><a name="en-us_topic_0000001787884190_table109631116113412"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table109631116113412" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Configuration of custom</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row1696361663418"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.4.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p1696351619347">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row1552911316546"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1553021313544">servers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1653031375418">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p9530121355415">object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p155300135549">Configuration of servers</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row09063177544"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p11906161745420">stub_domains</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p4906517185413">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p19061917105410">Map<String>[]string</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p15906181718541">Stub domain configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row186607121146"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p7200427192810">multiAZEnable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p182011427162815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1320132782813">bool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p8201027182811">Whether to enable the forcible mode of multi-AZ deployment for the deployment component. The default value is <strong id="cce_02_0407__en-us_topic_0000001787884190_b189195917273">false</strong>. Deployment pods of the add-on will be forcibly scheduled to nodes in different AZs. If there are fewer AZs than pods, the extra pods will fail to run. If both <strong id="cce_02_0407__en-us_topic_0000001787884190_b14829044283">multiAZEnable</strong> and <strong id="cce_02_0407__en-us_topic_0000001787884190_b382911412814">multiAZBalance</strong> are set to true, the settings of <strong id="cce_02_0407__en-us_topic_0000001787884190_b178304413281">multiAZBalance</strong> take effect, which means, the equivalent mode of multi-AZ deployment is used.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1619110217142"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p12828335172912">multiAZBalance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p158285354295">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p9828193592916">bool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1882853532910">Whether to enable the equivalent mode of multi-AZ deployment for the deployment component. The default value is <strong id="cce_02_0407__en-us_topic_0000001787884190_b149291622813">false</strong>. Deployment pods of the add-on are evenly scheduled to the nodes in the cluster in each AZ. If a new AZ is added, it is recommended that you increase add-on pods for cross-AZ HA deployment. With the equivalent multi-AZ deployment, the difference between the number of add-on pods in different AZs will be less than or equal to 1. If resources in one of the AZs are insufficient, pods cannot be scheduled to that AZ.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row11172142514145"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1638204019290">tolerations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p18638940142910">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p126384402290">Array of <a href="#cce_02_0407__en-us_topic_0000001787884190_table1347114825310">Table 5</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.82%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p9638134015293">Toleration configuration</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table136520220346"></a><a name="en-us_topic_0000001787884190_table136520220346"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_row665212223419"><th align="left" class="cellrowborder" valign="top" width="16.650000000000002%" id="mcps1.3.2.5.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p12652132216348">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row1965252203413"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p950122712488">CPU size limit (unit: m)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1265362211348"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p11653822173411">Memory size limit (unit: Mi)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row16121539104016"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p3612139114012">Add-on name. The value is fixed at <strong id="cce_02_0407__en-us_topic_0000001787884190_b36091531182918">coredns</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row113481236124011"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p3348153617405">Requested CPU size (unit: m)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1665362213412"><td class="cellrowborder" valign="top" width="16.650000000000002%" headers="mcps1.3.2.5.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_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_0407__en-us_topic_0000001787884190_p565362293414">Requested memory size (unit: Mi)</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table1347114825310"></a><a name="en-us_topic_0000001787884190_table1347114825310"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table1347114825310" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Taints and tolerations</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row9473482539"><th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.2.6.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_p104724815313">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.14%" id="mcps1.3.2.6.2.5.1.2"><p id="cce_02_0407__en-us_topic_0000001787884190_p19470485531">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.82%" id="mcps1.3.2.6.2.5.1.3"><p id="cce_02_0407__en-us_topic_0000001787884190_p34734811535">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.55%" id="mcps1.3.2.6.2.5.1.4"><p id="cce_02_0407__en-us_topic_0000001787884190_p2474480532">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row647174819534"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.6.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p3471148185311">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.6.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p847448195311">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.6.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1947348195313">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.6.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p164724855315">Taint key</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row847194811531"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.6.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p134784855312">effect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.6.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p5477482533">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.6.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p14764855311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.6.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p44864815318">Taint policy</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row12484488538"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.6.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1848114885312">operator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.6.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1648104885318">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.6.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p44814812536">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.6.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p2481948105319">Operator</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1486486535"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.6.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p114834819538">tolerationSeconds</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.6.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p20481648185311">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.6.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p2482048205314">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.6.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p548114817532">Toleration time window</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table1815759477" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Configuration of server</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row3151556478"><th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.2.7.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_p20156544714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.14%" id="mcps1.3.2.7.2.5.1.2"><p id="cce_02_0407__en-us_topic_0000001787884190_p15158510479">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.82%" id="mcps1.3.2.7.2.5.1.3"><p id="cce_02_0407__en-us_topic_0000001787884190_p161520514472">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.55%" id="mcps1.3.2.7.2.5.1.4"><p id="cce_02_0407__en-us_topic_0000001787884190_p815658473">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row5156594711"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.7.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1515154476">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.7.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p11150514471">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.7.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p16532715417">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.7.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p3159514712">Domain port number. The default value is <strong id="cce_02_0407__en-us_topic_0000001787884190_b237017462303">5353</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row1115658472"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.7.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p094831194913">zones</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.7.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p31525154715">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.7.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1915195114713">Array of <a href="#cce_02_0407__en-us_topic_0000001787884190_table1291310134128">Table 8</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.7.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p915175164712">Domain configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row71520504712"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.7.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p9155513474">plugins</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.7.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p41513518473">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.7.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p15151755479">Array of <a href="#cce_02_0407__en-us_topic_0000001787884190_table11522644719">Table 7</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.7.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p341218184216">Configuration of plugin</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table11522644719"></a><a name="en-us_topic_0000001787884190_table11522644719"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table11522644719" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Configuration of plugin</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row16521616471"><th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.2.8.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_p13521763473">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.14%" id="mcps1.3.2.8.2.5.1.2"><p id="cce_02_0407__en-us_topic_0000001787884190_p19521966476">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.82%" id="mcps1.3.2.8.2.5.1.3"><p id="cce_02_0407__en-us_topic_0000001787884190_p4522615477">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.55%" id="mcps1.3.2.8.2.5.1.4"><p id="cce_02_0407__en-us_topic_0000001787884190_p552762474">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row7520615477"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.8.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p6523694712">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.8.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p13529619479">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.8.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p05211617471">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.8.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p1152168477">Plugin name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row4523654720"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.8.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p165276114714">configBlock</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.8.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p65236204720">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.8.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p125214618476">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.8.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p124591648114320">Configuration of plugin</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_02_0407__en-us_topic_0000001787884190_row125216164710"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.8.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p3999124875012">parameters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.8.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p165276104716">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.8.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p14529611479">String/Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.8.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p8529618478">Extended parameters of the plugin</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cce_02_0407__en-us_topic_0000001787884190_table1291310134128"></a><a name="en-us_topic_0000001787884190_table1291310134128"></a><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0407__en-us_topic_0000001787884190_table1291310134128" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Configuration of zone</caption><thead align="left"><tr id="cce_02_0407__en-us_topic_0000001787884190_row79133134129"><th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.2.9.2.5.1.1"><p id="cce_02_0407__en-us_topic_0000001787884190_p19131313141215">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.14%" id="mcps1.3.2.9.2.5.1.2"><p id="cce_02_0407__en-us_topic_0000001787884190_p1291310130127">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.82%" id="mcps1.3.2.9.2.5.1.3"><p id="cce_02_0407__en-us_topic_0000001787884190_p1391351317126">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.55%" id="mcps1.3.2.9.2.5.1.4"><p id="cce_02_0407__en-us_topic_0000001787884190_p15913111381217">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_02_0407__en-us_topic_0000001787884190_row39132013141219"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.9.2.5.1.1 "><p id="cce_02_0407__en-us_topic_0000001787884190_p291351315126">zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.14%" headers="mcps1.3.2.9.2.5.1.2 "><p id="cce_02_0407__en-us_topic_0000001787884190_p7913141331215">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.82%" headers="mcps1.3.2.9.2.5.1.3 "><p id="cce_02_0407__en-us_topic_0000001787884190_p79131213161217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.55%" headers="mcps1.3.2.9.2.5.1.4 "><p id="cce_02_0407__en-us_topic_0000001787884190_p109131013171214">Domain value. The default value is <strong id="cce_02_0407__en-us_topic_0000001787884190_b1322616241326">"."</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="cce_02_0407__en-us_topic_0000001787884190_section5790442114119"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="cce_02_0407__en-us_topic_0000001787884190_screen13762558164116">{
|
|
"kind": "Addon",
|
|
"apiVersion": "v3",
|
|
"metadata": {
|
|
"annotations": {
|
|
"addon.install/type": "install"
|
|
}
|
|
},
|
|
"spec": {
|
|
"clusterID": "2292498e-******-0255ac1001ba",
|
|
"version": "1.29.2",
|
|
"addonTemplateName": "coredns",
|
|
"values": {
|
|
"basic": {
|
|
"basickey":"val"
|
|
},
|
|
"flavor": {
|
|
"replicas": 2,
|
|
"resources": [{
|
|
"limitsCpu": "2000m",
|
|
"limitsMem": "2000Mi",
|
|
"name": "coredns",
|
|
"requestsCpu": "2000m",
|
|
"requestsMem": "2000Mi"
|
|
}]
|
|
},
|
|
"custom": {
|
|
"multiAZBalance": false,
|
|
"multiAZEnabled": false,
|
|
"node_match_expressions": [],
|
|
"servers": [{
|
|
"plugins": [{
|
|
"name": "bind",
|
|
"parameters": "{$POD_IP}"
|
|
},
|
|
{
|
|
"configBlock": "servfail 5s",
|
|
"name": "cache",
|
|
"parameters": 30
|
|
},
|
|
{
|
|
"name": "errors"
|
|
},
|
|
{
|
|
"name": "health",
|
|
"parameters": "{$POD_IP}:8080"
|
|
},
|
|
{
|
|
"name": "ready",
|
|
"parameters": "{$POD_IP}:8081"
|
|
},
|
|
{
|
|
"configBlock": "pods insecure\nfallthrough in-addr.arpa ip6.arpa",
|
|
"name": "kubernetes",
|
|
"parameters": "cluster.local in-addr.arpa ip6.arpa"
|
|
},
|
|
{
|
|
"name": "loadbalance",
|
|
"parameters": "round_robin"
|
|
},
|
|
{
|
|
"name": "prometheus",
|
|
"parameters": "{$POD_IP}:9153"
|
|
},
|
|
{
|
|
"configBlock": "policy random",
|
|
"name": "forward",
|
|
"parameters": ". /etc/resolv.conf"
|
|
},
|
|
{
|
|
"name": "reload"
|
|
}],
|
|
"port": 5353,
|
|
"zones": [{
|
|
"zone": "."
|
|
}]
|
|
}],
|
|
"stub_domains": {
|
|
|
|
},
|
|
"tolerations": [{
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 60
|
|
},
|
|
{
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 60
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</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>
|
|
|