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>
79 lines
7.4 KiB
HTML
79 lines
7.4 KiB
HTML
<a name="cce_faq_00201"></a><a name="cce_faq_00201"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Collect Logs of Nodes in a CCE Cluster?</h1>
|
|
<div id="body1570791416900"><p id="cce_faq_00201__p162661251192118">The following tables list log files of CCE nodes.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_faq_00201__table971311414385" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Node logs</caption><thead align="left"><tr id="cce_faq_00201__row1971441493818"><th align="left" class="cellrowborder" valign="top" width="25.09%" id="mcps1.3.2.2.3.1.1"><p id="cce_faq_00201__p2714111483812">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="74.91%" id="mcps1.3.2.2.3.1.2"><p id="cce_faq_00201__p1471461453814">Path</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_faq_00201__row1471413144388"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p23284210386">kubelet log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><ul id="cce_faq_00201__ul16358146174614"><li id="cce_faq_00201__li15358134610460">For clusters of v1.21 or later: <strong id="cce_faq_00201__b5738539125320">/var/log/cce/kubernetes/kubelet.log</strong></li><li id="cce_faq_00201__li18358104624611">For clusters of v1.19 or earlier: <strong id="cce_faq_00201__b1074911422537">/var/paas/sys/log/kubernetes/kubelet.log</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row771413144382"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p123284253811">kube-proxy log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><ul id="cce_faq_00201__ul135874619467"><li id="cce_faq_00201__li143599467466">For clusters of v1.21 or later: <strong id="cce_faq_00201__b1972634715536">/var/log/cce/kubernetes/kube-proxy.log</strong></li><li id="cce_faq_00201__li035915465469">For clusters of v1.19 or earlier: <strong id="cce_faq_00201__b191881050175312">/var/paas/sys/log/kubernetes/kube-proxy.log</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row1771491420384"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p133354213387">yangtse log (networking)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><ul id="cce_faq_00201__ul1735913462469"><li id="cce_faq_00201__li18359154618467">For clusters of v1.21 or later: <strong id="cce_faq_00201__b718325419539">/var/log/cce/yangtse</strong></li><li id="cce_faq_00201__li1735954610469">For clusters of v1.19 or earlier: <strong id="cce_faq_00201__b5208175720531">/var/paas/sys/log/yangtse</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row259434003814"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p2332425388">canal log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><ul id="cce_faq_00201__ul135915466467"><li id="cce_faq_00201__li9359134610468">For clusters of v1.21 or later: <strong id="cce_faq_00201__b1418911085417">/var/log/cce/canal</strong></li><li id="cce_faq_00201__li5359124654611">For clusters of v1.19 or earlier: <strong id="cce_faq_00201__b249192125417">/var/paas/sys/log/canal</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row20908174073813"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p163394253816">System logs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><p id="cce_faq_00201__p83374219389"><strong id="cce_faq_00201__b575013611549">/var/log/messages</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row9103247204"><td class="cellrowborder" valign="top" width="25.09%" headers="mcps1.3.2.2.3.1.1 "><p id="cce_faq_00201__p81035462017">Container engine Logs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.91%" headers="mcps1.3.2.2.3.1.2 "><ul id="cce_faq_00201__ul121094547216"><li id="cce_faq_00201__li1610935472116">For Docker nodes: <strong id="cce_faq_00201__b20248111105313">/var/lib/docker</strong></li><li id="cce_faq_00201__li6109185417212">For containerd nodes: <strong id="cce_faq_00201__b2217151411536">/var/log/cce/containerd</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_faq_00201__table2329638104315" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Add-on logs</caption><thead align="left"><tr id="cce_faq_00201__row113298389432"><th align="left" class="cellrowborder" valign="top" width="25.19%" id="mcps1.3.3.2.3.1.1"><p id="cce_faq_00201__p432983815436">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="74.81%" id="mcps1.3.3.2.3.1.2"><p id="cce_faq_00201__p1632917389438">Path</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_faq_00201__row1329193816439"><td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.3.2.3.1.1 "><p id="cce_faq_00201__p1832242193814">everest log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.3.2.3.1.2 "><ul id="cce_faq_00201__ul186781152164610"><li id="cce_faq_00201__li1967865216462">For v2.1.41 or later:<ul id="cce_faq_00201__ul430735864611"><li id="cce_faq_00201__li1067845218466">everest-csi-driver: <strong id="cce_faq_00201__b86271139547">/var/log/cce/kubernetes</strong></li><li id="cce_faq_00201__li13903112710475">everest-csi-controller: <strong id="cce_faq_00201__b8859316155418">/var/paas/sys/log/kubernetes</strong></li></ul>
|
|
</li><li id="cce_faq_00201__li10167113013478">For version earlier than v2.1.41:<ul id="cce_faq_00201__ul0169173094719"><li id="cce_faq_00201__li175831044174713">everest-csi-driver: <strong id="cce_faq_00201__b19788821105413">/var/log/cce/everest-csi-driver</strong></li><li id="cce_faq_00201__li11169103020478">everest-csi-controller: <strong id="cce_faq_00201__b18918132413541">/var/paas/sys/log/everest-csi-controller</strong></li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row193302385439"><td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.3.2.3.1.1 "><p id="cce_faq_00201__p2049612944210">npd log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.3.2.3.1.2 "><ul id="cce_faq_00201__ul14416181483"><li id="cce_faq_00201__li114411718194811">For v1.18.16 or later: <strong id="cce_faq_00201__b101962286547">/var/paas/sys/log/kubernetes</strong></li><li id="cce_faq_00201__li89962336487">For versions earlier than v1.18.16: <strong id="cce_faq_00201__b10313123145413">/var/paas/sys/log/cceaddon-npd</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00201__row2033013382438"><td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.3.2.3.1.1 "><p id="cce_faq_00201__p14127119424">cce-hpa-controller log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.3.2.3.1.2 "><ul id="cce_faq_00201__ul1365111535480"><li id="cce_faq_00201__li201466594915">For v1.3.12 or later: <strong id="cce_faq_00201__b137668334546">/var/paas/sys/log/kubernetes</strong></li><li id="cce_faq_00201__li865116535481">For versions earlier than v1.3.12: <strong id="cce_faq_00201__b02971037195414">/var/paas/sys/log/ccehpa-controller</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_faq_00281.html">Node Running</a></div>
|
|
</div>
|
|
</div>
|
|
|