addons: Update from Prometheus v1.8.2 to v2.0.0

This commit is contained in:
Dalton Hubble 2017-11-08 01:08:23 -08:00
parent 4ec6732b98
commit f570af9418
2 changed files with 12 additions and 5 deletions

View File

@ -8,6 +8,14 @@ data:
# Global config # Global config
global: global:
scrape_interval: 15s scrape_interval: 15s
# AlertManager
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
# Scrape configs for running Prometheus on a Kubernetes cluster. # Scrape configs for running Prometheus on a Kubernetes cluster.
# This uses separate scrape configs for cluster components (i.e. API server, node) # This uses separate scrape configs for cluster components (i.e. API server, node)
# and services to allow each to use different authentication configs. # and services to allow each to use different authentication configs.
@ -214,3 +222,5 @@ data:
# Rule files # Rule files
rule_files: rule_files:
- "/etc/prometheus/rules/*.rules" - "/etc/prometheus/rules/*.rules"
- "/etc/prometheus/rules/*.yaml"
- "/etc/prometheus/rules/*.yml"

View File

@ -16,12 +16,9 @@ spec:
spec: spec:
containers: containers:
- name: prometheus - name: prometheus
image: quay.io/prometheus/prometheus:v1.8.2 image: quay.io/prometheus/prometheus:v2.0.0
args: args:
- '-config.file=/etc/prometheus/prometheus.yaml' - '--config.file=/etc/prometheus/prometheus.yaml'
- '-storage.local.retention=12h'
- '-storage.local.memory-chunks=500000'
- '-alertmanager.url=http://alertmanager:9093'
ports: ports:
- name: web - name: web
containerPort: 9090 containerPort: 9090