Skip to content

Commit

Permalink
Merge pull request #13408 from charlie-haley/monitoring-interval
Browse files Browse the repository at this point in the history
helm: allow configuring monitoring interval
  • Loading branch information
travisn committed Dec 15, 2023
2 parents c7271c9 + 0768eb1 commit 8e704fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
{{- if .Values.monitoring.externalMgrPrometheusPort }}
externalMgrPrometheusPort: {{ toYaml .Values.monitoring.externalMgrPrometheusPort }}
{{- end }}
{{- if .Values.monitoring.interval }}
interval: {{ .Values.monitoring.interval }}
{{- end }}
{{- end }}

{{ toYaml .Values.cephClusterSpec | indent 2 }}
2 changes: 2 additions & 0 deletions deploy/charts/rook-ceph-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ monitoring:
# Monitoring settings for external clusters:
# externalMgrEndpoints: <list of endpoints>
# externalMgrPrometheusPort: <port>
# Scrape interval for prometheus
# interval: 5s
# allow adding custom labels and annotations to the prometheus rule
prometheusRule:
# -- Labels applied to PrometheusRule
Expand Down

0 comments on commit 8e704fd

Please sign in to comment.