From d4c658a28c703461401b30908110d4854803f843 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Sun, 31 Dec 2023 17:13:58 +0100 Subject: [PATCH] match all servicemonitors? --- apps/monitoring/prometheus.yaml | 4 ---- kluster-deployments/monitoring/application.yaml | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/monitoring/prometheus.yaml b/apps/monitoring/prometheus.yaml index 2b44490..e8abfeb 100644 --- a/apps/monitoring/prometheus.yaml +++ b/apps/monitoring/prometheus.yaml @@ -47,10 +47,6 @@ metadata: name: prometheus spec: serviceAccountName: prometheus - serviceMonitorSelector: # match all service monitors by default - matchLabels: {} - serviceMonitorNamespaceSelector: # match all namespaces by default - matchLabels: {} resources: requests: memory: 400Mi diff --git a/kluster-deployments/monitoring/application.yaml b/kluster-deployments/monitoring/application.yaml index 36deee1..74ca47c 100644 --- a/kluster-deployments/monitoring/application.yaml +++ b/kluster-deployments/monitoring/application.yaml @@ -16,3 +16,6 @@ spec: automated: prune: true selfHeal: true + syncOptions: + - Replace=true + # because the prom crds exceed the default 256Ki limit \ No newline at end of file