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 <jharmison@gmail.com>
(cherry picked from commit 2ae305749a)
This commit is contained in:
1 parent
a11b1e4e91
commit
1d701006c2
1 file changed
+11
-11
@@ -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
|
||||
|
||||
Reference in new issue
Block a user