安装
# 下载yaml
# [下载](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
# 镜像下载
```
docker login --username=xxxx registry.cn-shanghai.aliyuncs.com
docker pull registry.cn-shanghai.aliyuncs.com/docker-liuqi/kube-state-metrics:v2.1.0
docker tag registry.cn-shanghai.aliyuncs.com/docker-liuqi/kube-state-metrics:v2.1.0 k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.1.0
```
# 下载
```
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
# 查看可配置的信息
helm show values prometheus-community/kube-prometheus-stack
helm pull prometheus-community/kube-prometheus-stack
tar -zvxf kube-prometheus-stack-17.2.1.tgz
rm kube-prometheus-stack-17.2.1.tgz
```
# 配置ingress-nginx
〉 配置域名解析
```
10.110.