Skip to content

Commit

Permalink
fix cert-manager down alert for old clusters (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson authored Sep 23, 2024
1 parent afa68df commit 124dc12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Dashboard links in alertmanager and mimir rules
- Fix cert-manager down alert.
- Remove deprecated app labels for `external-dns` and `ingress-nginx` alerts.
- Remove deprecated app labels for `kube-state-metrics` alerts.
- Fix falco events alerts node label to hostname as node does not exist.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
annotations:
description: '{{`cert-manager in namespace {{ $labels.namespace }} is down.`}}'
opsrecipe: cert-manager-down/
expr: label_replace(up{job=~"cert-manager-(app|controller)"}, "ip", "$1.$2.$3.$4", "node", "ip-(\\d+)-(\\d+)-(\\d+)-(\\d+).*") == 0
expr: label_replace(up{container=~"cert-manager(-app-controller)?"}, "ip", "$1.$2.$3.$4", "node", "ip-(\\d+)-(\\d+)-(\\d+)-(\\d+).*") == 0
for: 15m
labels:
area: kaas
Expand Down

0 comments on commit 124dc12

Please sign in to comment.