diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index 683bbf2824e0..4eaa27f7fd72 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -51,3 +51,7 @@ dependencies: version: "6.57.*" repository: https://grafana.github.io/helm-charts condition: grafana.enabled + - name: prometheus-windows-exporter + repository: https://prometheus-community.github.io/helm-charts + version: "0.1.*" + condition: windowsMonitoring.enabled diff --git a/charts/kube-prometheus-stack/values.yaml b/charts/kube-prometheus-stack/values.yaml index dca11060c05c..422f228e478f 100644 --- a/charts/kube-prometheus-stack/values.yaml +++ b/charts/kube-prometheus-stack/values.yaml @@ -196,11 +196,10 @@ global: # - "image-pull-secret" windowsMonitoring: - ## Deploy the windows specific dashboards and rules, depends on deployment of windows_exporter - ## Ref: https://github.com/prometheus-community/windows_exporter/blob/master/kubernetes/kubernetes.md + ## Deploy the windows-exporter and Windows-specific dashboards and rules enabled: false - ## Job must match jobLabel in the PodMonitor and is used for the rules - job: windows-exporter + ## Job must match jobLabel in the PodMonitor/ServiceMonitor and is used for the rules + job: prometheus-windows-exporter ## Configuration for alertmanager ## ref: https://prometheus.io/docs/alerting/alertmanager/