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

Prometheus might not work correctly with 1.6 RBAC #955

Closed
andrewhowdencom opened this issue Apr 24, 2017 · 2 comments · Fixed by #1080
Closed

Prometheus might not work correctly with 1.6 RBAC #955

andrewhowdencom opened this issue Apr 24, 2017 · 2 comments · Fixed by #1080
Assignees

Comments

@andrewhowdencom
Copy link
Contributor

See https://github.com/kubernetes/charts/blob/master/stable/prometheus/values.yaml#L468
Also, see prometheus/prometheus#2641

@h0tbird
Copy link
Contributor

h0tbird commented Apr 24, 2017

FWIW I just pulled the changes out of this and applied it to my own helm chart. Worked wonderfully.

@andrewhowdencom can you share your updated helm chart? I have the same problem after updating to GKE 1.6.1. Thank you!

@h0tbird
Copy link
Contributor

h0tbird commented Apr 24, 2017

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
@mgoodness mgoodness self-assigned this May 30, 2017
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.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants