Skip to content

Commit

Permalink
[kube-prometheus-stack] Disable kube-state-metrics service scraping b…
Browse files Browse the repository at this point in the history
…y default (#5260)
  • Loading branch information
gdsmith authored Jan 31, 2025
1 parent b606e9e commit ac6165c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 68.4.3
version: 68.4.4
appVersion: v0.79.2
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
10 changes: 10 additions & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2278,8 +2278,18 @@ kube-state-metrics:
rbac:
create: true
releaseLabel: true

## Enable scraping via kubernetes-service-endpoints
## Disabled by default as we service monitor is enabled below
##
prometheusScrape: false

prometheus:
monitor:

## Enable scraping via service monitor
## Disable to prevent duplication if you enable prometheusScrape above
##
enabled: true

## Scrape interval. If not set, the Prometheus default scrape interval is used.
Expand Down

0 comments on commit ac6165c

Please sign in to comment.