Scrape k8up operator metrics (#512)

The k8up operator already serves Prometheus metrics (backup/check/prune job counts, controller-runtime) on its k8up-metrics Service, but nothing scrapes them, so backup health is invisible in VictoriaMetrics.

- add a VMServiceScrape for the k8up-metrics Service (port http, /metrics)

Reviewed-on: #512
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #512.
This commit is contained in:
2026-10-02 23:28:59 +10:00
committed by BenVincent
parent 79e8ccb3d8
commit 575bd5d361
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -4,3 +4,4 @@ kind: Kustomization
resources:
- namespace.yaml
- vmservicescrape.yaml
@@ -0,0 +1,15 @@
---
# Scrape the k8up operator metrics (k8up-metrics Service, port http :8080).
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: k8up
namespace: k8up-system
spec:
selector:
matchLabels:
app.kubernetes.io/name: k8up
app.kubernetes.io/instance: k8up
endpoints:
- port: http
path: /metrics