Files
doc-exports/docs/ucs/umn/ucs_01_0018.html
qiujiandong1 0a674cd795 UCS UMN initial update 20250523 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2026-01-13 13:39:08 +00:00

58 lines
7.7 KiB
HTML

<a name="ucs_01_0018"></a><a name="ucs_01_0018"></a>
<h1 class="topictitle1">Enabling Cluster Federation</h1>
<div id="body0000001237310597"><div class="section" id="ucs_01_0018__section72451746195"><h4 class="sectiontitle">Enabling Cluster Federation</h4><p id="ucs_01_0018__p334711041118">You can enable cluster federation for a fleet with just a few clicks.</p>
<p id="ucs_01_0018__p172415228259">Enabling cluster federation involves two phases: enabling cluster federation and adding clusters to the federation. Enabling cluster federation for a fleet will federate the registered clusters in the fleet.</p>
<p id="ucs_01_0018__p0112101118117">There is a quota limit for enabling cluster federation, and there are constraints on clusters in a fleet. Before enabling cluster federation, <strong id="ucs_01_0018__b1293107296">read the following constraints</strong> to avoid failures.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ucs_01_0018__table168112221017" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Cluster constraints</caption><thead align="left"><tr id="ucs_01_0018__row1868213221513"><th align="left" class="cellrowborder" valign="top" width="22.29%" id="mcps1.3.1.5.2.3.1.1"><p id="ucs_01_0018__p368217221415">Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="77.71000000000001%" id="mcps1.3.1.5.2.3.1.2"><p id="ucs_01_0018__p3682522516">Constraint</p>
</th>
</tr>
</thead>
<tbody><tr id="ucs_01_0018__row1068210228111"><td class="cellrowborder" valign="top" width="22.29%" headers="mcps1.3.1.5.2.3.1.1 "><p id="ucs_01_0018__p17682322411">Cluster version</p>
</td>
<td class="cellrowborder" valign="top" width="77.71000000000001%" headers="mcps1.3.1.5.2.3.1.2 "><p id="ucs_01_0018__p1682922419">The versions of all clusters in the fleet must be 1.19 or later.</p>
</td>
</tr>
<tr id="ucs_01_0018__row14682142215115"><td class="cellrowborder" valign="top" width="22.29%" headers="mcps1.3.1.5.2.3.1.1 "><p id="ucs_01_0018__p1682222810">Cluster status</p>
</td>
<td class="cellrowborder" valign="top" width="77.71000000000001%" headers="mcps1.3.1.5.2.3.1.2 "><p id="ucs_01_0018__p66821822519">All clusters in the fleet must be in the <strong id="ucs_01_0018__b11619914815">Running</strong> status.</p>
</td>
</tr>
<tr id="ucs_01_0018__row20682132212119"><td class="cellrowborder" valign="top" width="22.29%" headers="mcps1.3.1.5.2.3.1.1 "><p id="ucs_01_0018__p12682182219111">Cluster network</p>
</td>
<td class="cellrowborder" valign="top" width="77.71000000000001%" headers="mcps1.3.1.5.2.3.1.2 "><ul id="ucs_01_0018__ul788512410395"><li id="ucs_01_0018__li86185581907">OTC cluster: An EIP must be associated with the cluster.</li><li id="ucs_01_0018__li388514493914">Other types of clusters: Ensure that the clusters connect to UCS.</li></ul>
</td>
</tr>
<tr id="ucs_01_0018__row20682322418"><td class="cellrowborder" valign="top" width="22.29%" headers="mcps1.3.1.5.2.3.1.1 "><p id="ucs_01_0018__p166823228114">Quota</p>
</td>
<td class="cellrowborder" valign="top" width="77.71000000000001%" headers="mcps1.3.1.5.2.3.1.2 "><p id="ucs_01_0018__p206821422119">The cluster federation quota is 1. This means cluster federation can be enabled only for one fleet.</p>
</td>
</tr>
</tbody>
</table>
</div>
<ol id="ucs_01_0018__ol14850153941012"><li id="ucs_01_0018__li10654181411199"><span>Log in to the UCS console. In the navigation pane, choose <span class="uicontrol" id="ucs_01_0018__uicontrol69332511333"><b>Fleets</b></span>.</span></li><li id="ucs_01_0018__li16850339121014"><span>On the <strong id="ucs_01_0018__b2085009313">Fleets</strong> tab, locate the target fleet displayed with <strong id="ucs_01_0018__b1822111817411">Federation not enabled</strong>. Click <strong id="ucs_01_0018__b668132248">Enable</strong>.</span></li><li id="ucs_01_0018__li12288610132018"><span>In the displayed dialog box, click <span class="uicontrol" id="ucs_01_0018__uicontrol638216210239"><b>OK</b></span>. Then, wait until cluster federation is enabled.</span><p><p id="ucs_01_0018__p13670131516219">If the clusters in the fleet do not meet the constraints, an error message will be displayed. Modify the clusters as prompted and enable cluster federation again.</p>
<p id="ucs_01_0018__p158882182280">It takes about 10 minutes to enable cluster federation. You can click the federation status to view the detailed enabling progress. After cluster federation is enabled, a message will be displayed.</p>
</p></li></ol>
</div>
<div class="section" id="ucs_01_0018__section12213163719254"><h4 class="sectiontitle">Adding Clusters</h4><p id="ucs_01_0018__p17523747172515">After cluster federation is enabled for a fleet, you can continue to add clusters to the fleet. The new clusters are automatically connected to the federation of the fleet. A federation can have up to 20 clusters.</p>
<ol id="ucs_01_0018__ol1215114383514"><li id="ucs_01_0018__li81518388515"><span>Log in to the UCS console. In the navigation pane, choose <span class="uicontrol" id="ucs_01_0018__uicontrol681784619331"><b>Fleets</b></span>.</span></li><li id="ucs_01_0018__li1636214457335"><span>In the card view of the target fleet, click <span class="uicontrol" id="ucs_01_0018__uicontrol1856213446251"><b>Add Cluster</b></span>, or click <span><img id="ucs_01_0018__image1136344593312" src="en-us_image_0000001416896654.png"></span> in the upper right corner.</span><p><p id="ucs_01_0018__p1885294533312">You can also click the fleet name to access the fleet console. In the navigation pane, choose <strong id="ucs_01_0018__b1849919290595">Container Clusters</strong>. On the displayed page, click <strong id="ucs_01_0018__b11500112912597">Add Cluster</strong> in the upper right corner.</p>
</p></li><li id="ucs_01_0018__li12782073812"><span>Select one or more existing clusters. A cluster can only be added to one fleet. The clusters displayed in the list are those that do not been added to any fleets.</span></li><li id="ucs_01_0018__li556275411412"><span>Click <strong id="ucs_01_0018__b14048530643216">OK</strong>.</span></li></ol>
</div>
<div class="section" id="ucs_01_0018__section27343243318"><h4 class="sectiontitle">Managing Federation</h4><p id="ucs_01_0018__p7135193916612">After cluster federation is enabled for a fleet, the <strong id="ucs_01_0018__b1027191854116">Federation</strong> module on the fleet console is automatically unlocked.</p>
<p id="ucs_01_0018__p2041616019129">Next, you can create federated resources such as federated workloads, Services, and storage for deploying your service. You can also perform advanced operations such as multi-active DR and auto scaling for multi-cluster applications.</p>
</div>
<div class="section" id="ucs_01_0018__section88211316259"><a name="ucs_01_0018__section88211316259"></a><a name="section88211316259"></a><h4 class="sectiontitle">Disabling Cluster Federation</h4><p id="ucs_01_0018__p1865916152617">If you do not need to use cluster federation, you can disable it. After cluster federation is disabled, services running on the workloads are not affected.</p>
<ol id="ucs_01_0018__ol59584115511"><li id="ucs_01_0018__li209581214517"><span>Log in to the UCS console. In the navigation pane, choose <span class="uicontrol" id="ucs_01_0018__uicontrol191393015341"><b>Fleets</b></span>.</span></li><li id="ucs_01_0018__li129581513510"><span>On the <strong id="ucs_01_0018__b1362346175111">Fleets</strong> tab, locate the target fleet and click <strong id="ucs_01_0018__b155152082523">Disable Federation</strong> in the upper right corner.</span></li><li id="ucs_01_0018__li4959316513"><span>In the displayed dialog box, click <span class="uicontrol" id="ucs_01_0018__uicontrol647794917524"><b>OK</b></span>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ucs_01_0199.html">Cluster Federation</a></div>
</div>
</div>