forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
29 lines
6.5 KiB
HTML
29 lines
6.5 KiB
HTML
<a name="cce_10_0906"></a><a name="cce_10_0906"></a>
|
|
|
|
<h1 class="topictitle1">Adding or Deleting the Default Pod Subnet of a CCE Turbo Cluster</h1>
|
|
<div id="body0000001914574466"><p id="cce_10_0906__p95175710415">If the pod subnet configured during CCE Turbo cluster creation cannot meet service expansion requirements, you can add a pod subnet for the cluster.</p>
|
|
<div class="section" id="cce_10_0906__section5655159659"><h4 class="sectiontitle">Constraints</h4><ul id="cce_10_0906__ul57231373237"><li id="cce_10_0906__li1327295202711">This function is only available for CCE Turbo clusters of v1.19 or later.</li></ul>
|
|
</div>
|
|
<div class="section" id="cce_10_0906__section362618288152"><h4 class="sectiontitle">Modifying the Default Pod Subnet on the Overview Page</h4><ol id="cce_10_0906__ol040511833516"><li id="cce_10_0906__li330462393220"><span>Log in to the <span id="cce_10_0906__cce_10_0004_ph18314322182">CCE console</span> and click the cluster name to access the cluster console.</span></li><li id="cce_10_0906__li107348336364"><span>On the <strong id="cce_10_0906__b18580154101618"><span id="cce_10_0906__text20297121811259">Overview</span></strong> page, locate the <strong id="cce_10_0906__b1158034111166">Networking Configuration</strong> area and click <strong id="cce_10_0906__b75805416167">Edit</strong>.</span><p><p id="cce_10_0906__p1735281513265"></p>
|
|
</p></li><li id="cce_10_0906__li1140513812351"><span>Add or delete the default pod subnet. You can select one or more subnets in the same VPC. If no other pod subnet is available, go to the VPC console and create one.</span><p><div class="caution" id="cce_10_0906__note13138694719"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><ul id="cce_10_0906__ul2500258144912"><li id="cce_10_0906__li55001758124914">Pod subnets can be deleted from clusters of v1.23.17-r0, v1.25.12-r0, v1.27.9-r0, v1.28.7-r0, v1.29.3-r0, or later versions.</li><li id="cce_10_0906__li550020580492">To ensure that containers in a new CIDR block can access related services such as databases and middleware, allow the traffic from the new CIDR block on the required access ports in the security groups of related services.</li></ul>
|
|
</div></div>
|
|
<p id="cce_10_0906__p13338102542719"></p>
|
|
</p></li><li id="cce_10_0906__li18368107163811"><span>Click <strong id="cce_10_0906__b95266304883514">OK</strong>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="cce_10_0906__section06151317155212"><h4 class="sectiontitle">Modifying the Default Pod Subnet on the Settings Page</h4><ol id="cce_10_0906__ol979518199524"><li id="cce_10_0906__li2773037748"><span>Log in to the <span id="cce_10_0906__cce_10_0004_ph18314322182_1">CCE console</span> and click the cluster name to access the cluster console.</span></li><li id="cce_10_0906__li1137931813536"><span>On the <strong id="cce_10_0906__b142549274314">Settings</strong> page, click the <span class="uicontrol" id="cce_10_0906__uicontrol038021814538"><b>Network</b></span> tab.</span></li><li id="cce_10_0906__li27956193520"><span>In the <span class="uicontrol" id="cce_10_0906__uicontrol15321828125312"><b>Container Network</b></span> area, click <span class="uicontrol" id="cce_10_0906__uicontrol844124133213"><b>Update</b></span> in the <strong id="cce_10_0906__b1445751111337">Operation</strong> column of <strong id="cce_10_0906__b87961778346">default-network (Default Container Subnet)</strong>.</span></li><li id="cce_10_0906__li1436624918384"><span>In the <strong id="cce_10_0906__b151623453210">Pod Subnet</strong> area, <strong id="cce_10_0906__b1049552284313">deselect</strong> the subnets to be deleted and click <strong id="cce_10_0906__b19163340327">OK</strong>.</span><p><p id="cce_10_0906__p13664147111614"></p>
|
|
<p id="cce_10_0906__p18381540191818"></p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="cce_10_0906__section119514411512"><h4 class="sectiontitle">Precautions for Deleting Container Subnets</h4><p id="cce_10_0906__p15671162510514">When deleting container subnets, pay attention to the following:</p>
|
|
<ul id="cce_10_0906__ul2013314492504"><li id="cce_10_0906__li113092306447">CCE clusters of v1.25.16-r30, v1.27.16-r30, v1.28.15-r20, v1.29.13-r0, v1.30.10-r0, v1.31.6-r0, v1.32.1-r0, or later support automatic cleanup of requested network interfaces after subnets are deleted.<ul id="cce_10_0906__ul1730923044415"><li id="cce_10_0906__li1530913015449">Pre-allocated network interfaces are automatically reclaimed when the subnet is deleted.</li><li id="cce_10_0906__li1430919300443">Network interfaces used by pods without a fixed IP address are automatically reclaimed when the pods are deleted.</li><li id="cce_10_0906__li1130913300441">Network interfaces used by pods with a fixed IP address are automatically reclaimed after the pods are deleted and the fixed IP addresses expire.</li><li id="cce_10_0906__li17309113094411">The eth1 network interface used by nodes is automatically reclaimed when the nodes are deleted or reset.</li></ul>
|
|
</li><li id="cce_10_0906__li113091330124413">In CCE clusters of v1.25.16-r30, v1.27.16-r30, v1.28.15-r20, v1.29.13-r0, v1.30.10-r0, v1.31.6-r0, v1.32.1-r0, or earlier, network interfaces that have been allocated are not automatically reclaimed when a subnet is deleted. Before deleting a subnet, ensure that no network interfaces in the current cluster are using the subnet, including those used by pods and pre-allocated network interfaces.<p id="cce_10_0906__p3309143024412"><a name="cce_10_0906__li113091330124413"></a><a name="li113091330124413"></a>To find out if any network interfaces are being used by a cluster, copy the ID of the subnet that you plan to delete. Then, access <strong id="cce_10_0906__b95541743712">Network Console</strong> and use this ID to filter the network interfaces and supplementary network interfaces associated with the VPC subnet on the <strong id="cce_10_0906__b1755516763711"></strong><strong id="cce_10_0906__b1155519773715">Network Interfaces</strong> tab. If the name or description of any of the filtered network interfaces contains a cluster ID, then those network interfaces are being used by the cluster.</p>
|
|
</li><li id="cce_10_0906__li1331073014446">After a subnet is deleted, the security group of the cluster node will not automatically remove the rules associated with the subnet. Make sure that no network interfaces in the cluster are still using the subnet and manually clear these rules that are associated with it.</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_10_0678.html">Cloud Native Network 2.0 Settings</a></div>
|
|
</div>
|
|
</div>
|
|
|