添加prometheus-adapter插件
helm search repo prometheus-adapter #网上搜索adapter
helm pull apphub/prometheus-adapter #拉取
tar zxf prometheus-adapter-2.1.1.tgz #解压
cd prometheus-adapter/ #进入解压后的目录
修改镜像为本地仓库
vim values.yaml
修改ingress解析地址
安装
helm install prometheus-adapter . -n prometheus-operator