From 6b8fa34b96a125eb4a9e2df983afb3fef756cc52 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 22 Feb 2022 08:32:38 +0000 Subject: Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector" This reverts commit 69a9449e18b2c82988e0fa9717b43a292da18ce0. Reason for revert: Fixed upstream in OOM Issue-ID: OOM-2927 Change-Id: I49d8bfe273cfc16cf79ac4e4995f841c71579d75 Signed-off-by: Bartek Grzybowski --- ...n-labels-for-the-metrics-Service-selector.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 patches/MARIADB-Use-common-labels-for-the-metrics-Service-selector.patch diff --git a/patches/MARIADB-Use-common-labels-for-the-metrics-Service-selector.patch b/patches/MARIADB-Use-common-labels-for-the-metrics-Service-selector.patch deleted file mode 100644 index a0696f43..00000000 --- a/patches/MARIADB-Use-common-labels-for-the-metrics-Service-selector.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a9d2af7ba6ec8d2c43ff21089869ae835954c90f Mon Sep 17 00:00:00 2001 -From: Bartek Grzybowski -Date: Fri, 4 Feb 2022 14:19:51 +0100 -Subject: [PATCH] [MARIADB] Use common labels for the metrics Service selector - -Setting the "prometheus: kube-prometheus" label selector for mariadb-galera -ServiceMonitor object is invalid since mariadb-galera-metrics service has -common labels assigned. - -Without this change Prometheus (in kube-prometheus-stack) does not select -the mariadb-galera-metrics service for scraping and relevant target is -not created. - -Change-Id: I64dfe83ff7fb448125f8726cf3ca33048ced04a8 -Issue-ID: OOM-2925 -Signed-off-by: Bartek Grzybowski ---- - kubernetes/common/mariadb-galera/values.yaml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml -index f49a89881..9f7c88213 100644 ---- a/kubernetes/common/mariadb-galera/values.yaml -+++ b/kubernetes/common/mariadb-galera/values.yaml -@@ -608,8 +608,8 @@ metrics: - ## ServiceMonitor selector labels - ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration - ## -- selector: -- prometheus: kube-prometheus -+ # selector: -+ # prometheus: kube-prometheus - - ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig --- -2.17.1 -- cgit 1.2.3-korg