Skip to main content

helm

helm 安装

下载安装包
wget https://get.helm.sh/helm-v3.7.1-linux-amd64.tar.gz
安装
 tar -zxf helm-v3.7.1-linux-amd64.tar.gz 

mv linux-amd64/helm /usr/bin

rm -rf linux-amd64/

helm version
安装helm 3 rancher源
curl https://rancher-mirror.rancher.cn/helm/get-helm-3.sh | INSTALL_HELM_MIRROR=cn bash

helm 常见问题

问题

1.报错 cannot re-use a name that is still in use

使用helm -n {{namespace}} ls 发现并没有找到名称重复的那个helm。

可能是helm安装是pending状态。

使用helm -n {{namespace}} ls -a 可以查询出来所有的helm安装包。

然后使用helm -n {{namespace}} delete {{packagename}} 删除掉原来的安装。