Skip to content

Commit

Permalink
Update openebs-monitoring-pg.yaml to use Prometheus v2
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
  • Loading branch information
metalmatze committed Feb 10, 2018
1 parent d9c9b6a commit 5387cc5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions k8s/openebs-monitoring-pg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ spec:
serviceAccountName: openebs-maya-operator
containers:
- name: prometheus
image: prom/prometheus:v1.7.2
image: prom/prometheus:v2.1.0
args:
- "-config.file=/etc/prometheus/conf/prometheus.yml"
- "--config.file=/etc/prometheus/conf/prometheus.yml"
# Metrics are stored in an emptyDir volume which
# exists as long as the Pod is running on that Node.
# The data in an emptyDir volume is safe across container crashes.
- "-storage.local.path=/prometheus"
# How long to retain samples in the local storage.
- "-storage.local.retention=$(STORAGE_RETENTION)"
- "--storage.tsdb.path=/prometheus"
# How long to retain samples in the local storage.
- "--storage.tsdb.retention=$(STORAGE_RETENTION)"
ports:
- containerPort: 9090
env:
Expand Down Expand Up @@ -166,7 +166,7 @@ spec:
app: openebs-grafana
spec:
containers:
- image: grafana/grafana:4.5.2
- image: grafana/grafana:4.6.3
name: grafana
ports:
- containerPort: 3000
Expand Down

0 comments on commit 5387cc5

Please sign in to comment.