This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Prometheus might not work correctly with 1.6 RBAC #955
Comments
@andrewhowdencom can you share your updated helm chart? I have the same problem after updating to GKE |
Nevermind, all I needed was: - job_name: 'kubernetes-nodes'
kubernetes_sd_configs:
- role: node
scheme: https
tls_config:
ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecure_skip_verify: true
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
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 |
kujenga
added a commit
to kujenga/charts
that referenced
this issue
May 15, 2017
This commit adds support for Kubernetes 1.6 RBAC restrictions within the prometheus configuration for scraping node metrics. Fixes helm#955 Initial discussion of the issue: prometheus/prometheus#2606
viglesiasce
pushed a commit
that referenced
this issue
Jul 6, 2017
* 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
yanns
pushed a commit
to yanns/charts
that referenced
this issue
Jul 28, 2017
* 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 helm#955 Initial discussion of the issue: prometheus/prometheus#2606 * stable/prometheus: bump chart minor version
scottrigby
pushed a commit
to prometheus-community/helm-charts
that referenced
this issue
Aug 8, 2020
* 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 helm/charts#955 Initial discussion of the issue: prometheus/prometheus#2606 * stable/prometheus: bump chart minor version
janeknowsbest77
added a commit
to janeknowsbest77/charts
that referenced
this issue
Jul 25, 2024
* 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 helm/charts#955 Initial discussion of the issue: prometheus/prometheus#2606 * stable/prometheus: bump chart minor version
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See https://github.com/kubernetes/charts/blob/master/stable/prometheus/values.yaml#L468
Also, see prometheus/prometheus#2641
The text was updated successfully, but these errors were encountered: