Compare commits

..

1 commit

Author SHA1 Message Date
46702a1f86 Update dashboard VolSync Dashboard ( 1 → 3 ) 2024-10-28 05:03:23 +00:00
2 changed files with 1 additions and 46 deletions

View file

@ -48,7 +48,7 @@ spec:
custom: true
spec:
httpGet:
port: &port 9633
port: 9633
path: /
readiness: *probes
smartctl-exporter-vms:
@ -77,17 +77,6 @@ spec:
probes:
liveness: *probes
readiness: *probes
service:
smartctl-exporter:
controller: smartctl-exporter
ports:
exporter:
port: *port
smartctl-exporter-vms:
controller: smartctl-exporter-vms
ports:
exporter:
port: *port
persistence:
dev:
type: hostPath
@ -96,24 +85,3 @@ spec:
globalMounts:
- path: /host/dev
readOnly: true
serviceMonitor:
smartctl-exporter:
serviceName: smartctl-exporter
endpoints:
- port: exporter
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
smartctl-exporter-vms:
selector:
matchLabels:
app.kubernetes.io/instance: smartctl-exporter
app.kubernetes.io/name: smartctl-exporter
app.kubernetes.io/service: smartctl-exporter-smartctl-exporter-vms
endpoints:
- port: exporter
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s

View file

@ -1,13 +0,0 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/monitoring.coreos.com/podmonitor_v1.json
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: smartctl-exporter
spec:
namespaceSelector:
matchNames:
- observability
selector:
matchLabels:
app.kubernetes.io/name: smartctl-exporter