Skip to content

Commit

Permalink
fix: cert-manager related alerts for mimir (#1161)
Browse files Browse the repository at this point in the history
* fix: cert-manager related alerts for mimir

* Update CHANGELOG.md
  • Loading branch information
QuentinBisson authored May 14, 2024
1 parent 9707e0e commit 3d4a3f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Remove cilium entry from KAAS SLOs.
- Fix cert-manager rules for mimir.
- Fix operatorkit related alerts for mimir.
- Fix Loki/Mimir and Tempo mixins according to `pint` recommendations
- Fix cilium related alerts for mimir.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
If memory usage value is equal to memory limit value then it is likely the pod will be evicted.
If no limits are set then the pod will burst.
`}}
expr: (sum by (cluster_id, pod, namespace, container) (container_memory_working_set_bytes{container=~"(cert-manager|cert-manager-app-controller)"}) / 1024 / 1024 / 1024) >= 0.85
expr: (sum by (cluster_id, installation, pipeline, provider, pod, namespace, container) (container_memory_working_set_bytes{container=~"(cert-manager|cert-manager-app-controller)"}) / 1024 / 1024 / 1024) >= 0.85
for: 10m
labels:
area: kaas
Expand All @@ -44,7 +44,7 @@ spec:
annotations:
description: '{{`There are too many CertificateRequests in cluster {{ $labels.cluster_id }}.`}}'
opsrecipe: cert-requests-too-many/
expr: sum by (cluster_id) (etcd_kubernetes_resources_count{kind="certificaterequests.cert-manager.io"}) > 10000
expr: sum by (cluster_id, installation, pipeline, provider) (etcd_kubernetes_resources_count{kind="certificaterequests.cert-manager.io"}) > 10000
for: 15m
labels:
area: kaas
Expand Down

0 comments on commit 3d4a3f4

Please sign in to comment.