From 66802b03a85fd4fc0e295fa12237f6c68fbc5d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Serv=C3=A9n=20Mar=C3=ADn?= Date: Mon, 12 Feb 2024 17:55:32 +0100 Subject: [PATCH] manifests: add example ServiceMonitor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucas Servén Marín --- manifests/service-monitor.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 manifests/service-monitor.yaml diff --git a/manifests/service-monitor.yaml b/manifests/service-monitor.yaml new file mode 100644 index 0000000..81aa2d6 --- /dev/null +++ b/manifests/service-monitor.yaml @@ -0,0 +1,15 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + labels: + app.kubernetes.io/name: namespace-provisioner + app.kubernetes.io/part-of: namespace-provisioner + name: namespace-provisioner + namespace: namespace-provisioner +spec: + endpoints: + - port: http + selector: + matchLabels: + app.kubernetes.io/name: namespace-provisioner + app.kubernetes.io/part-of: namespace-provisioner