Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Prometheus: modify config to support k8s 1.6 by default (#1080)
Browse files Browse the repository at this point in the history
* 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 #955

Initial discussion of the issue:
prometheus/prometheus#2606

* stable/prometheus: bump chart minor version
  • Loading branch information
kujenga authored and Vic Iglesias committed Jul 6, 2017
1 parent 496c968 commit 1db4e9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions stable/prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 1db4e9f

Please sign in to comment.