helm安装:
wget https://get.helm.sh/helm-v3.9.2-linux-386.tar.gz
tar -xzvf helm-v3.9.2-linux-386.tar.gz
mv linux-386/helm /usr/bin/
helm安装prometheus...
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm search repo prometheus-community
可直接安装:helm install prometheus prometheus-community/kube-prometheus-stack
存在问题镜像下载不了,可先下载chart
helm fetch prometheus-community/kube-prometheus-stack
路径:kube-prometheus-stack/values.yaml
修改镜像:k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.3.0 -- docker.io/jettech/kube-webhook-certgen:v1.5.2
路径:charts/kube-state-metrics/values.yaml
修改镜像:registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.7.0 -- bitnami/kube-state-metrics:latest
安装:helm install prometheusall ./kube-prometheus-stack
查看:helm list