Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cert-manager related alerts for mimir #1161

Merged
merged 8 commits into from
May 14, 2024
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