Application version
2.5.0
Chart version
获取chart包
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm fetch prometheus-community/kube-state-metrics --version 4.16.0
#或者curl -LO https://github.com/prometheus-community/helm-charts/releases/download/kube-state-metrics-4.16.0/kube-state-metrics-4.16.0.tgz
#或者curl -LO https://storage.corpintra.plus/kubernetes/charts/kube-state-metrics-4.16.0.tgz
自定义安装
helm upgrade kube-state-metrics \
--namespace kube-system \
--create-namespace \
--debug \
--wait \
--install \
--atomic \
--set image.repository="registry.cn-hangzhou.aliyuncs.com/kubecr/kube-state-metrics" \
--set image.tag="v2.5.0" \
./kube-state-metrics-4.16.0.tgz
标签:4.16,--,metrics,state,helm,kube
From: https://www.cnblogs.com/zhaojli/p/16645714.html