helm3命令使用
<p>[TOC]</p>
<h5>安装helm3</h5>
<ul>
<li>从<a href="https://github.com/helm/helm/releases">github</a>获取指定版本的安装包进行安装即可;</li>
</ul>
<pre><code class="language-bash">tar xf helm-v3.9.0-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/
helm version</code></pre>
<h5>常用命令</h5>
<ul>
<li>关于helm3版本chart仓库常用命令如下;</li>
</ul>
<pre><code class="language-bash">helm version # 查看版本
helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts # 添加仓库,helm3版本默认没有仓库
helm repo list # 查看已有仓库
helm repo update # 更新仓库索引
helm repo remove stable # 通过仓库名删除仓库</code></pre>
<ul>
<li>安装、升级、卸载;</li>
</ul>
<pre><code class="language-bash">helm search repo tomcat # 从仓库搜索与tomcat相关的chart</code></pre>