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:
parent
7949cabb29
commit
57ee5afa62
5 changed files with 58 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
apiVersion: operator.victoriametrics.com/v1beta1
|
apiVersion: operator.victoriametrics.com/v1beta1
|
||||||
kind: VLogs
|
kind: VLSingle
|
||||||
metadata:
|
metadata:
|
||||||
name: victorialogs
|
name: victorialogs
|
||||||
namespace: observability
|
namespace: observability
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue