From 1d701006c2da09edbb59dc7ef47289c13745a8ca Mon Sep 17 00:00:00 2001 From: James Harmison Date: Sun, 31 Jul 2022 12:24:13 -0400 Subject: [PATCH] monitoring: fix localrule indent Indentation level for the rule array for pools was inconsistent, leading to a broken YAML array. This commit corrects indentation level for pool rules to align with the rest of the array. Closes: https://github.com/rook/rook/issues/10653 Signed-off-by: James Harmison (cherry picked from commit 2ae305749ab73d095bf95600f84c22edf3c08f99) --- deploy/examples/monitoring/localrules.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/deploy/examples/monitoring/localrules.yaml b/deploy/examples/monitoring/localrules.yaml index dc19f1f52..75a8fc73d 100644 --- a/deploy/examples/monitoring/localrules.yaml +++ b/deploy/examples/monitoring/localrules.yaml @@ -746,17 +746,17 @@ spec: description: > Pool '{{ $labels.name }}' will be full in less than 5 days assuming the average fill-up rate of the past 48 hours. - - alert: CephPoolBackfillFull - expr: ceph_health_detail{name="POOL_BACKFILLFULL"} > 0 - labels: - severity: warning - type: ceph_default - annotations: - summary: Free space in a pool is too low for recovery/backfill - description: > - A pool is approaching the near full threshold, which will - prevent recovery/backfill from completing. - Consider adding more capacity. + - alert: CephPoolBackfillFull + expr: ceph_health_detail{name="POOL_BACKFILLFULL"} > 0 + labels: + severity: warning + type: ceph_default + annotations: + summary: Free space in a pool is too low for recovery/backfill + description: > + A pool is approaching the near full threshold, which will + prevent recovery/backfill from completing. + Consider adding more capacity. - alert: CephPoolFull expr: ceph_health_detail{name="POOL_FULL"} > 0 for: 1m