集群组件管理

<p class="shortdesc">集群创建成功后,若集群已安装的组件异常或需要安装其他组件时,可通过组件管理功能对组件进行管理。本文主要介绍如何安装、重装或卸载组件。</p> <section class="section prereq" id="Component_management__prereq_vj1_jcc_gsb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div> <p class="p">您已成功创建Serverless集群,可参考<a class="xref" href="/ssr/help/management/PKS/Serverless.quickstart.create_serverless_cluster" target="_blank" rel="external noopener">创建Serverless集群</a>。</p> </section> <section class="section context" id="Component_management__context_mwf_hdw_n5b"><div class="tasklabel"><h2 class="doc-tairway">背景信息</h2></div> <p class="p">组件类型分为默认组件和自选组件,默认组件为创建集群时默认安装的组件,自选组件为创建集群时依据用户配置安装的组件。当前支持的组件如下:</p> <table class="table" id="Component_management__table_pxt_s4t_rvb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="Component_management__table_pxt_s4t_rvb__entry__1">组件名称</th> <th class="entry" id="Component_management__table_pxt_s4t_rvb__entry__2">组件类型</th> <th class="entry" id="Component_management__table_pxt_s4t_rvb__entry__3">组件描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__1 "> <p class="p">CoreDNS组件</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__2 "> <p class="p">自选</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__3 "> <p class="p">Kubernetes标准的服务发现组件,是一种可扩展的DNS服务器。</p> </td> </tr> <tr class="row"> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__1 "> <p class="p">Ingress组件</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__2 "> <p class="p">自选</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__3 "> <p class="p">可为您的Kubernetes集群提供路由服务。</p> </td> </tr> <tr class="row"> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__1 "> <p class="p">Metrics-server监控组件</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__2 "> <p class="p">自选</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__3 "> <p class="p">集群基础监控组件,不启用时,不能使用HPA弹性伸缩。</p> </td> </tr> <tr class="row"> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__1 "> <p class="p">monitor监控组件</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__2 "> <p class="p">默认</p> </td> <td class="entry" headers="Component_management__table_pxt_s4t_rvb__entry__3 "> <p class="p">默认安装,监控注册及监控上报组件。</p> </td> </tr> </tbody></table> </section> <section class="section attention" id="Component_management__attention_v1r_hdw_n5b"><div class="tasklabel"><h2 class="doc-tairway">注意事项</h2></div> <ul class="ul" id="Component_management__ul_evc_w4t_rvb"> <li class="li">默认组件不支持卸载操作,若默认组件发生异常,可支持重装。</li> <li class="li">自选组件支持安装、重装和卸载。</li> <li class="li">组件安装结果不会阻塞集群创建流程,集群创建成功后请关注组件状态是否安装成功。可通过集群状态、流程日志、组件管理查看异常信息。</li> </ul> </section> <section id="Component_management__steps_owf_hdw_n5b"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="Component_management__steps_owf_hdw_n5b"><li class="li step stepexpand"> <span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/pks/cluster" target="_blank" rel="external noopener">容器服务CaaS Serverless集群控制台</a>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">单击左侧导航栏<span class="ph uicontrol">集群</span>,进入<span class="ph uicontrol">集群列表</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 class="ph uicontrol">集群信息</span>页面,选择<span class="ph uicontrol">组件管理</span>页签。</span> <div class="itemgroup info"><img class="image" id="Component_management__image_j2w_4tt_rvb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20222012160841-117c3157961c.png" width="800"></div> </li><li class="li step stepexpand"> <span class="ph cmd">在<strong class="ph b">组件管理</strong>页签,可以查看到集群各个组件的安装状态,并对组件进行安装、重装或卸载。</span> <div class="itemgroup info"> <ul class="ul" id="Component_management__ul_ync_vtt_rvb"> <li class="li"><strong class="ph b">安装</strong>:单击目标组件<strong class="ph b">操作</strong>列的<strong class="ph b">安装</strong>,安装成功后,组件<strong class="ph b">状态</strong>显示为<strong class="ph b">已安装</strong>。</li> <li class="li"><strong class="ph b">重装</strong>:单击目标组件<strong class="ph b">操作</strong>列的<strong class="ph b">重装</strong>,系统将先卸载组件再重新安装,重装成功后,组件<strong class="ph b">状态</strong>显示为<strong class="ph b">已安装</strong>。</li> <li class="li"><strong class="ph b">卸载</strong>:单击目标组件<strong class="ph b">操作</strong>列的<strong class="ph b">卸载</strong>,卸载成功后,组件<strong class="ph b">状态</strong>显示为<strong class="ph b">未安装</strong>。</li> </ul> </div> </li></ol></section>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题