mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Prometheus: modify config to support k8s 1.6 by default (#1080)
* charts/stable/prometheus: modify config to support 1.6 by default This commit adds support for Kubernetes 1.6 RBAC restrictions within the prometheus configuration for scraping node metrics. Fixes https://github.com/kubernetes/charts/issues/955 Initial discussion of the issue: https://github.com/prometheus/prometheus/issues/2606 * stable/prometheus: bump chart minor version
This commit is contained in:
committed by
Vic Iglesias
parent
496c9683ab
commit
1db4e9f84d
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 3.0.3
|
||||
version: 3.1.0
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
|
||||
@@ -515,6 +515,12 @@ serverFiles:
|
||||
relabel_configs:
|
||||
- action: labelmap
|
||||
regex: __meta_kubernetes_node_label_(.+)
|
||||
- target_label: __address__
|
||||
replacement: kubernetes.default.svc:443
|
||||
- source_labels: [__meta_kubernetes_node_name]
|
||||
regex: (.+)
|
||||
target_label: __metrics_path__
|
||||
replacement: /api/v1/nodes/${1}/proxy/metrics
|
||||
|
||||
# Scrape config for service endpoints.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user