Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-prometheus-stack] Disable kube-state-metrics service scraping by default #5260

Merged
merged 2 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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