From cc45c8e170a260c3b7128c26920e173724957d74 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 22 Mar 2026 21:58:26 -0500 Subject: [PATCH] feat: add service monitor --- clusters/cl01tl/helm/backrest/values.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/clusters/cl01tl/helm/backrest/values.yaml b/clusters/cl01tl/helm/backrest/values.yaml index 83470301e..55a38786c 100644 --- a/clusters/cl01tl/helm/backrest/values.yaml +++ b/clusters/cl01tl/helm/backrest/values.yaml @@ -33,6 +33,19 @@ backrest: port: 80 targetPort: 9898 protocol: TCP + serviceMonitor: + main: + selector: + matchLabels: + app.kubernetes.io/name: backrest + app.kubernetes.io/instance: backrest + serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}' + endpoints: + - port: http + scheme: http + path: /metrics + interval: 300s + scrapeTimeout: 15s route: main: kind: HTTPRoute