From cb548e5cb2b53257d3d125c69cc14f3036f849b6 Mon Sep 17 00:00:00 2001 From: Quentin Bisson Date: Tue, 5 Mar 2024 11:58:54 +0100 Subject: [PATCH] Remove Tiller alerts (#1047) --- CHANGELOG.md | 1 + .../configmap.management-cluster.rules.yml | 24 ------------------- .../configmap.workload-cluster.rules.yml | 24 ------------------- 3 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 helm/prometheus-rules/templates/alerting-rules/configmap.management-cluster.rules.yml delete mode 100644 helm/prometheus-rules/templates/alerting-rules/configmap.workload-cluster.rules.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 508f87742..66cdca438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- Remove Tiller related alerts. - Remove GCP alerts and configs. - Remove Openstack alerts and configs. diff --git a/helm/prometheus-rules/templates/alerting-rules/configmap.management-cluster.rules.yml b/helm/prometheus-rules/templates/alerting-rules/configmap.management-cluster.rules.yml deleted file mode 100644 index 8da8dc63c..000000000 --- a/helm/prometheus-rules/templates/alerting-rules/configmap.management-cluster.rules.yml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PrometheusRule -metadata: - creationTimestamp: null - labels: - {{- include "labels.common" . | nindent 4 }} - cluster_type: "management_cluster" - name: configmap.management-cluster.rules - namespace: {{ .Values.namespace }} -spec: - groups: - - name: configmap - rules: - - alert: TillerHistoryConfigMapCountTooHigh - annotations: - description: '{{`Tiller Helm release ConfigMap count too high.`}}' - opsrecipe: clean-up-configmaps/ - expr: sum(kube_configmap_info{namespace="kube-system",configmap=~".+\\.v.+"}) by (cluster_id) > 1000 - for: 15m - labels: - area: managedservices - severity: notify - team: honeybadger - topic: releng diff --git a/helm/prometheus-rules/templates/alerting-rules/configmap.workload-cluster.rules.yml b/helm/prometheus-rules/templates/alerting-rules/configmap.workload-cluster.rules.yml deleted file mode 100644 index e18187b56..000000000 --- a/helm/prometheus-rules/templates/alerting-rules/configmap.workload-cluster.rules.yml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PrometheusRule -metadata: - creationTimestamp: null - labels: - {{- include "labels.common" . | nindent 4 }} - cluster_type: "workload_cluster" - name: configmap.workload-cluster.rules - namespace: {{ .Values.namespace }} -spec: - groups: - - name: configmap - rules: - - alert: TillerHistoryConfigMapCountTooHigh - annotations: - description: '{{`Tiller Helm release ConfigMap count too high.`}}' - opsrecipe: clean-up-configmaps/ - expr: sum(kube_configmap_info{namespace="giantswarm",configmap=~".+\\.v.+"}) > 1000 - for: 15m - labels: - area: managedservices - severity: notify - team: honeybadger - topic: releng