feat(observability): add VMServiceScrapes + migrate VLogs → VLSingle

- Migrate VLogs CRD to VLSingle (operator.victoriametrics.com/v1beta1)
- Add VMServiceScrape for Forgejo (gitea ns, port http, /metrics)
- Add VMServiceScrape for ArgoCD (argocd ns, port http-metrics)
- Add VMServiceScrape for GARM (garm ns, port metrics)
- Add VMServiceScrape for CoreDNS (kube-system ns, k8s-app: kube-dns)

Ref: IPCEICIS-4618, IPCEICIS-5066
This commit is contained in:
Daniel Sy 2026-06-15 21:05:11 +02:00
parent 7949cabb29
commit 57ee5afa62
Signed by untrusted user: danielsy
GPG key ID: 1F39A8BBCD2EE3D3
5 changed files with 58 additions and 1 deletions

View file

@ -0,0 +1,14 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: argocd
namespace: observability
spec:
namespaceSelector:
matchNames:
- argocd
selector:
matchLabels:
app.kubernetes.io/part-of: argocd
endpoints:
- port: http-metrics

View file

@ -0,0 +1,14 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: coredns
namespace: observability
spec:
namespaceSelector:
matchNames:
- kube-system
selector:
matchLabels:
k8s-app: kube-dns
endpoints:
- port: metrics

View file

@ -0,0 +1,15 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: forgejo
namespace: observability
spec:
namespaceSelector:
matchNames:
- gitea
selector:
matchLabels:
app.kubernetes.io/name: forgejo
endpoints:
- port: http
path: /metrics

View file

@ -0,0 +1,14 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: garm
namespace: observability
spec:
namespaceSelector:
matchNames:
- garm
selector:
matchLabels:
app.kubernetes.io/name: garm
endpoints:
- port: metrics

View file

@ -1,5 +1,5 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VLogs
kind: VLSingle
metadata:
name: victorialogs
namespace: observability