创建命名空间
<p class="shortdesc">命名空间可以隔离子账号用户的资源,本文主要介绍如何创建命名空间。</p>
<section class="section prereq" id="create3__prereq_drr_r5b_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.Master_Cluster.create" target="_blank" rel="external noopener">创建管理集群</a>。</p>
</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="create3__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="create3__table_g2h_gh4_z5b__entry__1">
<p class="p"> 配置项 </p>
</th>
<th class="entry colsep-1 rowsep-1" id="create3__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="create3__table_g2h_gh4_z5b__entry__1 ">
<p class="p">选择集群</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="create3__table_g2h_gh4_z5b__entry__2 ">
<p class="p">选择命名空间所属的管理集群。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="create3__table_g2h_gh4_z5b__entry__1 ">
<p class="p"> 命名空间 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="create3__table_g2h_gh4_z5b__entry__2 ">
<p class="p">设置命名空间的名称。</p>
<div class="note note note_note"><span class="note__title">说明:</span> 名称长度为 1~63 个字符,只能包含数字、字母、和“-”,且首尾只能是字母或数字,且不支持大写。</div>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确定</span>。</span>
</li></ol></section>
<section class="section result"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在<span class="ph uicontrol">命名空间</span>页面,可以查看到已成功创建的命名空间,且状态为<span class="ph uicontrol">使用中</span>。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!