Helm包管理器
1. 简介
Helm是Kuberetes的包管理器类似于Ubuntu的apit-get,Centos的yum,用于管理Charts,Helm Chart是用来封装Kubernetes应用程序的一系列YAML文件
2. 安装Helm
在https://github.com/helm/helm上下载二进制文件:
sh
[root@node101 ~]# wget https://get.helm.sh/helm-v3.18.4-linux-amd64.tar.gz
[root@node101 ~]# mkdir /opt/module
[root@node101 ~]# tar -xvf helm-v3.18.4-linux-amd64.tar.gz -C /opt/module
[root@node101 ~]# cd /opt/module/
[root@node101 module]# ll
total 0
drwxr-xr-x 2 1001 docker 50 Jul 9 04:38 linux-amd64
[root@node101 module]# mv linux-amd64/ helm
3. 配置环境变量
sh
[root@node101 helm]# vim /etc/profile.d/my_env.sh
export PATH=$PATH:/opt/module/helm
## 配置生效
[root@node101 helm]# source /etc/profile
[root@node101 helm]# helm version
version.BuildInfo{Version:"v3.18.4", GitCommit:"d80839cf37d860c8aa9a0503fe463278f26cd5e2", GitTreeState:"clean", GoVersion:"go1.24.4"}