Enable dragonflydb podmonitor and vyos node-exporter scrapeconfig
This commit is contained in:
parent
1ba3cb6032
commit
fff7cd9f70
3 changed files with 27 additions and 1 deletions
|
@ -6,7 +6,8 @@ resources:
|
||||||
- ./externalsecret.yaml
|
- ./externalsecret.yaml
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./prometheusrules
|
- ./prometheusrules
|
||||||
# - ./scrapeconfigs
|
- ./scrapeconfigs
|
||||||
|
- ./podmonitors
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: alertmanager-config-tpl
|
- name: alertmanager-config-tpl
|
||||||
files:
|
files:
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/monitoring.coreos.com/podmonitor_v1.json
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: PodMonitor
|
||||||
|
metadata:
|
||||||
|
name: dragonflydb-metrics
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: dragonfly
|
||||||
|
app: dragonfly
|
||||||
|
podTargetLabels:
|
||||||
|
- app
|
||||||
|
namespaceSelector:
|
||||||
|
matchNames:
|
||||||
|
- database
|
||||||
|
podMetricsEndpoints:
|
||||||
|
- port: admin
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./dragonflydb.yaml
|
Loading…
Reference in a new issue