Helm

helm官网:https://helm.sh/
部署helm介绍:https://helm.sh/docs/intro/install/

helm相当于linux服务器的yum命令,对比如下:

helm--> yum
chart(docker image) --> rpm

helm安装部署

helm二进制下载地址:https://github.com/helm/helm/releases
可将二进制文件下载到有kube.config的节点,如master节点

wget https://get.helm.sh/helm-v3.11.1-linux-amd64.tar.gz
tar -zxvf helm-v3.11.1-linux-amd64.tar.gz 
cp linux-amd64/helm /usr/local/bin/
helm --help

使用helm部署prometheus

helm制品库地址:https://artifacthub.io/
制品库搜索到prometheus地址,进入prometheus后,点击INSTALL
可以看到官方提供的命令:

1、Add repository
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts

#此时可以看到仓库:
helm  repo list
#更新仓库:
helm  repo update
#搜索仓库中的服务:
helm search repo prometheus

2、安装chart 安装prometheus服务
helm install my-prometheus prometheus-community/prometheus --version 20.0.1
#查看运行的服务
helm  list
kubectl get pods 
helm show --help

3、卸载prometheus服务:
helm uninstall my-prometheus

helm制品库加速

helm repo add community https://release.daocloud.io/chartrepo/community
helm install dao-2048 community/dao-2048
作者:于浩  创建时间:2025-12-08 16:26
最后编辑:于浩  更新时间:2026-07-03 14:50