diff --git a/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml b/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml index 3a568e22a..4f5c78ca1 100644 --- a/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml @@ -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 }} diff --git a/deploy/charts/rook-ceph-cluster/values.yaml b/deploy/charts/rook-ceph-cluster/values.yaml index 67ed48f4b..fb2499c47 100644 --- a/deploy/charts/rook-ceph-cluster/values.yaml +++ b/deploy/charts/rook-ceph-cluster/values.yaml @@ -61,6 +61,8 @@ monitoring: # Monitoring settings for external clusters: # externalMgrEndpoints: # externalMgrPrometheusPort: + # Scrape interval for prometheus + # interval: 5s # allow adding custom labels and annotations to the prometheus rule prometheusRule: # -- Labels applied to PrometheusRule