From a929cf52d2ffc3fee0e720d08009c72a2f80c560 Mon Sep 17 00:00:00 2001 From: Puru <5674762+tuladhar@users.noreply.github.com> Date: Mon, 13 May 2024 20:48:58 +0545 Subject: [PATCH] Add ops-recipe for `KeyPairStorageAlmostFull` alert (#1172) --- CHANGELOG.md | 1 + .../templates/alerting-rules/cluster-service.rules.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c364eea3e..c65540382 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `cluster_control_plane_unhealthy` inhibition. - Added inhibitions expressions for CAPI clusters. - make targets for pint linter +- Added ops-recipe for `KeyPairStorageAlmostFull` alert ### Changed diff --git a/helm/prometheus-rules/templates/alerting-rules/cluster-service.rules.yml b/helm/prometheus-rules/templates/alerting-rules/cluster-service.rules.yml index cd4ed4b79..9cbbeb887 100644 --- a/helm/prometheus-rules/templates/alerting-rules/cluster-service.rules.yml +++ b/helm/prometheus-rules/templates/alerting-rules/cluster-service.rules.yml @@ -16,7 +16,7 @@ spec: - alert: KeyPairStorageAlmostFull annotations: description: '{{`Number of keypairs limit almost reached in cluster-service storageconfig`}}' - opsrecipe: https://github.com/giantswarm/giantswarm/pull/11618 + opsrecipe: cluster-service-storageconfig-full/ # Observed max CR record was hit at ~2800 entries expr: cluster_service_key_pair_total > 2400 for: 10m