kubernetes的包管理器Helm 二进制安装 Helm
范例:二进制安装 Helm
#在kubernetes的管理节点部署
VERSION=4.1.4
wget http://mirrors.huaweicloud.com/helm/v${HELM_VERSION}/helm-v${HELM_VERSION}-linux-amd64.tar.gz
wget https://get.helm.sh/helm-v${VERSION}-linux-amd64.tar.gz
tar xf helm-v${VERSION}-linux-amd64.tar.gz -C /usr/local/
[root@master1 yaml]# ls /usr/local/linux-amd64/ helm LICENSE README.md
ln -s /usr/local/linux-amd64/helm /usr/local/bin/
##helm-v3版本显示效果如下
helm version
helm version version.BuildInfo{Version:"v4.1.4", GitCommit:"05fa37973dc9e42b76e1d2883494c87174b6074f", GitTreeState:"clean", GoVersion:"go1.25.9", KubeClientVersion:"v1.35"} [root@master1 yaml]#
#Helm命令补会,重新登录生效
#方法1
echo 'source <(helm completion bash)' >> .bashrc && exit
#方法2
helm completion bash > /etc/bash_completion.d/helm.sh && exit
浙公网安备 33010602011771号