From f162aba44563e5a532bf8afe8cc30f96f385b331 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Fri, 22 Apr 2022 19:59:31 +0530 Subject: [PATCH] fix: add missing files for make bundle After running `make bundle` locally few files got updated and new files also got added. Signed-off-by: Madhu Rajanna --- .../lvm-operator.clusterserviceversion.yaml | 4 +- ...nitoring.coreos.com_v1_prometheusrule.yaml | 50 +++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/bundle/manifests/lvm-operator.clusterserviceversion.yaml b/bundle/manifests/lvm-operator.clusterserviceversion.yaml index b4f3b9cb4..2b4dcac69 100644 --- a/bundle/manifests/lvm-operator.clusterserviceversion.yaml +++ b/bundle/manifests/lvm-operator.clusterserviceversion.yaml @@ -285,7 +285,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: quay.io/nibalach/lvm-operator:e2e + image: quay.io/ocs-dev/lvm-operator:latest livenessProbe: httpGet: path: /healthz @@ -310,7 +310,7 @@ spec: allowPrivilegeEscalation: false - command: - /metricsexporter - image: quay.io/nibalach/lvm-operator:e2e + image: quay.io/ocs-dev/lvm-operator:latest name: metricsexporter resources: {} securityContext: diff --git a/bundle/manifests/prometheus-lvmo-rules_monitoring.coreos.com_v1_prometheusrule.yaml b/bundle/manifests/prometheus-lvmo-rules_monitoring.coreos.com_v1_prometheusrule.yaml index e7fad44aa..ef80b8c60 100644 --- a/bundle/manifests/prometheus-lvmo-rules_monitoring.coreos.com_v1_prometheusrule.yaml +++ b/bundle/manifests/prometheus-lvmo-rules_monitoring.coreos.com_v1_prometheusrule.yaml @@ -29,3 +29,53 @@ spec: for: 5m labels: severity: critical + - name: thin-pool-alert.rules + rules: + - alert: ThinPoolDataUsageAtThresholdNearFull + annotations: + description: Thin pool in the VolumeGroup is nearing full. Data deletion or + thin pool expansion is required. + message: Thin Pool data utilization in the VolumeGroup {{ $labels.device_class + }} has crossed 75 % on node {{ $labels.node }}. Free up some space or expand + the thin pool. + expr: | + topolvm_thinpool_data_percent > 75.00 and topolvm_thinpool_data_percent < 85.00 + for: 5m + labels: + severity: warning + - alert: ThinPoolDataUsageAtThresholdCritical + annotations: + description: Thin pool in the VolumeGroup is critically full. Data deletion + or thin pool expansion is required. + message: Thin Pool data utilization in the VolumeGroup {{ $labels.device_class + }} has crossed 85 % on node {{ $labels.node }}. Free up some space or expand + the thin pool immediately. + expr: | + topolvm_thinpool_data_percent > 85.00 + for: 5m + labels: + severity: critical + - alert: ThinPoolMetaDataUsageAtThresholdNearFull + annotations: + description: Thin pool metadata utitlization in the VolumeGroup is nearing + full. Data deletion or thin pool expansion is required. + message: Thin Pool metadata utilization in the VolumeGroup {{ $labels.device_class + }} has crossed 75 % on node {{ $labels.node }}. Free up some space or expand + the thin pool. + expr: | + topolvm_thinpool_metadata_percent > 75.00 and topolvm_thinpool_data_percent < 85.00 + for: 5m + labels: + severity: warning + - alert: ThinPoolMetaDataUsageAtThresholdCritical + annotations: + description: Thin pool metadata ultilization in the VolumeGroup is critically + full. Data deletion or thin pool expansion is required. + message: Thin Pool metadata utilization in the VolumeGroup {{ $labels.device_class + }} has crossed 85 % on node {{ $labels.node }}. Free up some space or expand + the thin pool immediately. + expr: | + topolvm_thinpool_metadata_percent > 85.00 + for: 5m + labels: + severity: critical