标签:arp enable github http pac master inf ima har
chart地址:https://github.com/helm/charts/tree/master/stable/prometheus-redis-exporter
1、下载chart包
$ helm fetch stable/prometheus-redis-exporter
2、修改values文件
rbac: create: true pspEnabled: true serviceAccount: create: true name: replicaCount: 1 image: repository: oliver006/redis_exporter tag: v0.28.0 pullPolicy: IfNotPresent extraArgs: {} env: {} service: type: ClusterIP port: 9121 annotations: prometheus.io/scrape: "true" resources: {} redisAddress: - redis://redis-ha-dev.sscp-dev.svc.cluster.local:6379 - redis://redis-ha-test.sscp-test.svc.cluster.local:6379 - redis://redis-ha-presit.sscp-presit.svc.cluster.local:6379 annotations: prometheus.io/path: /metrics prometheus.io/port: "9121" prometheus.io/scrape: "true" serviceMonitor: enabled: true namespace: monitoring interval: 30s telemetryPath: /metrics labels: timeout: 10s
3、部署
helm install --name prometheus-redis-exporter ./prometheus-redis-exporter --namespace monitoring
4、grafana
https://grafana.com/grafana/dashboards/2751
prometheus-redis-exporter监控redis
标签:arp enable github http pac master inf ima har
原文地址:https://www.cnblogs.com/Dev0ps/p/11315713.html