创建节点池
<p class="shortdesc"> 本文介绍如何创建节点池。</p>
<section class="section context"><div class="tasklabel"><h2 class="doc-tairway">背景信息</h2></div>
<p class="p">节点池分为默认节点池和自定义节点池,用户创建业务集群成功后,CaaS后台会默认创建一个节点池,默认节点池配置与业务集群一致。同时用户也可以在节点池列表页面进行自定义创建节点池。 </p>
</section>
<section class="section prereq" id="createNode__prereq_sxx_mzb_vvb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已成功创建业务集群,可参考<a class="xref" href="/ssr/help/compute/caas/Operation_Guide.Cluster_Management.worker.create" target="_blank" rel="external noopener">创建业务集群</a>,且集群状态为<strong class="ph b">运行中</strong>。</p>
</section>
<section class="section attention" id="createNode__zgm_m4v_svb"><div class="tasklabel"><h2 class="doc-tairway">注意事项</h2></div>
<p class="p">节点管理功能与业务集群和无状态应用为异步操作,只有节点池状态为<strong class="ph b">运行</strong>状态才可以操作业务集群和无状态应用功能。</p>
<ol class="ol" id="createNode__ol_q5v_4pv_svb">
<li class="li">节点池内的节点均需要具有以下<strong class="ph b">相同属性</strong>:<ol class="ol" type="a" id="createNode__ol_r5v_4pv_svb">
<li class="li">节点操作系统及版本;</li>
<li class="li">容器运行时类型及版本;</li>
<li class="li">VPC网络配置相同(子网可以不同);</li>
<li class="li">节点地域。</li>
</ol></li>
<li class="li">一个节点池一次创建节点范围限制为1-10。</li>
</ol>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/caas/overview" target="_blank" rel="external noopener">容器服务CaaS控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">节点管理</span><abbr> > </abbr><span class="ph uicontrol">节点池</span></span>,进入节点池列表页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击页面右上角<span class="ph uicontrol">创建节点池</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">根据如下信息,创建节点池。</span>
<div class="itemgroup info">
<table class="table" id="createNode__table_g2h_gh4_z5b"><caption></caption><colgroup><col style="width:37.59398496240601%"><col style="width:62.406015037593974%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry colsep-1 rowsep-1" id="createNode__table_g2h_gh4_z5b__entry__1">
<p class="p"> 配置项 </p>
</th>
<th class="entry colsep-1 rowsep-1" id="createNode__table_g2h_gh4_z5b__entry__2">
<p class="p"> 说明 </p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">节点池名称</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">名称为1-63个字符,可以包含小写英文字母、数字和中划线(-),并以小写字母开头,小写字母或者数字结尾。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p"> 节点类型 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择节点类型,目前默认为云主机。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">计费方式</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择付费方式。</p>
<ul class="ul" id="createNode__ul_nkf_4qv_svb">
<li class="li">按量付费:计费单位为每小时,平均每小时价格高,支持随时释放资源和退款,适用于有爆发业务量,如临时扩展、临时测试及科学计算等。</li>
<li class="li">预付费:计费单位为每月,平均每小时价格低,但不支持释放资源和退款,适用于长期稳定的7*24服务。</li>
</ul>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">地域</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择创建节点池的地域。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">可用区</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择创建节点池的可用区。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">所属集群</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择节点池的<span class="ph uicontrol">管理集群</span>和<span class="ph uicontrol">业务集群</span>。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">网络配置</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择<span class="ph uicontrol">VPC</span>和<span class="ph uicontrol">子网</span>。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">节点规格</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">勾选<span class="ph uicontrol">计算型</span>和<span class="ph uicontrol">通用性</span>的节点规格。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">节点数量</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择节点池对应的节点数量。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__1 ">
<p class="p">操作系统</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="createNode__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择操作系统。</p>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">创建</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在订单页面确认订单信息,单击<span class="ph uicontrol">确认开通</span>。</span>
</li></ol></section>
<section class="section result" id="createNode__result_c5p_xsv_svb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在节点池列表页面可以查看到刚创建的节点池。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!