Skip to content

Commit 37b0968

Browse files
peet-rhclaude
andcommitted
fix(KFLUXINFRA-3529): etcd-shield total_size check + severity fix (production)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peter Kirkpatrick <pkirkpat@redhat.com>
1 parent b21931c commit 37b0968

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

components/etcd-shield/production/base/etcd_shield_alerts.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ spec:
1212
for: 2m
1313
keep_firing_for: 5m
1414
labels:
15-
severity: warning
15+
severity: critical
1616
annotations:
1717
summary: etcd-shield is denying admission
1818
description: Etcd is nearing capacity limits, so etcd-shield is denying admission
1919
- record: etcd_shield_trigger
2020
expr: |
2121
(((etcd_mvcc_db_total_size_in_use_in_bytes >= bool (etcd_server_quota_backend_bytes * 0.80)) == 1) or
22-
((((etcd_mvcc_db_total_size_in_use_in_bytes) >= bool (etcd_server_quota_backend_bytes * 0.70)) == 1) and
22+
((etcd_mvcc_db_total_size_in_bytes >= bool (etcd_server_quota_backend_bytes * 0.80)) == 1) or
23+
((((etcd_mvcc_db_total_size_in_use_in_bytes >= bool (etcd_server_quota_backend_bytes * 0.70)) == 1) or
24+
((etcd_mvcc_db_total_size_in_bytes >= bool (etcd_server_quota_backend_bytes * 0.70)) == 1)) and
2325
(count without (alertname, alertstate, severity)
2426
(ALERTS{
2527
alertname="EtcdShieldDenyAdmission",

0 commit comments

Comments
 (0)