From 0b805125cdb2291b5b4fa45f117ad19febfa06d9 Mon Sep 17 00:00:00 2001 From: Lukasz Jakimczuk <39192420+ljakimczuk@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:37:19 +0100 Subject: [PATCH 1/3] Update app.rules.yml --- .../platform/honeybadger/alerting-rules/app.rules.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/app.rules.yml b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/app.rules.yml index 33c535c1..fac50490 100644 --- a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/app.rules.yml +++ b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/app.rules.yml @@ -21,6 +21,7 @@ spec: for: 30m labels: area: platform + cancel_if_cluster_control_plane_unhealthy: "true" cancel_if_cluster_status_creating: "true" cancel_if_cluster_status_deleting: "true" cancel_if_cluster_status_updating: "true" @@ -55,6 +56,7 @@ spec: for: 30m labels: area: platform + cancel_if_cluster_control_plane_unhealthy: "true" cancel_if_cluster_status_creating: "true" cancel_if_cluster_status_deleting: "true" cancel_if_cluster_status_updating: "true" @@ -75,6 +77,7 @@ spec: for: 30m labels: area: platform + cancel_if_cluster_control_plane_unhealthy: "true" cancel_if_cluster_status_creating: "true" cancel_if_cluster_status_deleting: "true" cancel_if_cluster_status_updating: "true" From 97d598ba8005bea0dca49d0bace42c5d2e77ec91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jakimczuk?= Date: Wed, 6 Nov 2024 14:46:07 +0100 Subject: [PATCH 2/3] Fix tests? --- .../platform/honeybadger/alerting-rules/app.rules.test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tests/providers/global/platform/honeybadger/alerting-rules/app.rules.test.yml b/test/tests/providers/global/platform/honeybadger/alerting-rules/app.rules.test.yml index 0c97be96..86aeb005 100644 --- a/test/tests/providers/global/platform/honeybadger/alerting-rules/app.rules.test.yml +++ b/test/tests/providers/global/platform/honeybadger/alerting-rules/app.rules.test.yml @@ -17,6 +17,7 @@ tests: app: cilium app_version: 1.11.2 area: platform + cancel_if_cluster_control_plane_unhealthy: "true" cancel_if_cluster_status_creating: "true" cancel_if_cluster_status_deleting: "true" cancel_if_cluster_status_updating: "true" From f9e9b61f9d307a409ae72c804d9e93b1d46b6e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jakimczuk?= Date: Wed, 6 Nov 2024 14:54:02 +0100 Subject: [PATCH 3/3] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10e04151..292dd978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixes the statefulset.rules name as it is currently replacing the deployment.rules alerts. +- Extends AppCR-related alerts with cancelation for CAPI clusters with unavailable control plane. ## [4.22.0] - 2024-10-29