fix(observability): enable ArgoCD/CoreDNS scraping, add cluster label, fix node dashboard
This commit is contained in:
parent
3212016398
commit
da0ccbd1b5
4 changed files with 58 additions and 4 deletions
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMServiceScrape
|
||||
metadata:
|
||||
name: argocd
|
||||
spec:
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- argocd
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/part-of: argocd
|
||||
endpoints:
|
||||
- port: metrics
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMPodScrape
|
||||
metadata:
|
||||
name: coredns
|
||||
spec:
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: coredns
|
||||
podMetricsEndpoints:
|
||||
- targetPort: 9153
|
||||
path: /metrics
|
||||
Loading…
Add table
Add a link
Reference in a new issue