Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prometheus helmfiles and rules to better use metric labels #304

Merged
merged 11 commits into from
Mar 28, 2020
27 changes: 12 additions & 15 deletions conf/helmfile.d/0110.prometheus-redis-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,31 @@ helmDefaults:

repositories:
# Stable repo of official helm charts
- name: "stable"
url: "https://kubernetes-charts.storage.googleapis.com"
- name: stable
url: https://kubernetes-charts.storage.googleapis.com

releases:
- name: "prometheus-redis-exporter"
- name: prometheus-redis-exporter
labels:
chart: "prometheus-redis-exporter"
chart: "stable/prometheus-redis-exporter"
version: "3.2.1"
namespace: "monitoring"
chart: prometheus-redis-exporter
component: monitoring
namespace: monitoring
chart: stable/prometheus-redis-exporter
version: 3.3.3
namespace: monitoring
values:
- resources:
requests:
cpu: 100m
memory: 100Mi

script:
- script:
configmap: prometheus-redis-exporter-script
keyname: script

service:
annotations:
prometheus.io/path: /metrics
prometheus.io/path: "/metrics"
prometheus.io/port: "9121"
prometheus.io/scrape: "true"

annotations:
prometheus.io/path: /metrics
prometheus.io/path: "/metrics"
prometheus.io/port: "9121"
prometheus.io/scrape: "true"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ releases:
# References:
# - [web address of Helm chart's YAML file]
#
- name: "zip-consumer"
- name: "segmentation-zip-consumer"
namespace: "deepcell"
labels:
chart: "redis-consumer"
Expand All @@ -30,7 +30,7 @@ releases:
repository: "vanvalenlab/kiosk-redis-consumer"
tag: "0.4.4"

nameOverride: zip-consumer
nameOverride: segmentation-zip-consumer

resources:
requests:
Expand Down
Loading