TrueChartsCatalogClone/stable/smartctl-exporter/2.10.14/ix_values.yaml

85 lines
2.0 KiB
YAML

image:
repository: prometheuscommunity/smartctl-exporter
pullPolicy: IfNotPresent
tag: v0.12.0@sha256:479e2cfa0e5c841ae02e075edd38cd0133a19bb058b4a3077d7484cfc92ba93d
securityContext:
container:
privileged: true
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
protocol: http
port: 9633
workload:
main:
type: DaemonSet
podSpec:
containers:
main:
args:
- --web.listen-address
- :{{ .Values.service.main.ports.main.port }}
- --web.telemetry-path
- "{{ .Values.smartctl.metricsEndpoint }}"
- --smartctl.path
- /usr/sbin/smartctl
- --smartctl.interval
- "{{ .Values.smartctl.pollInterval }}"
- --smartctl.rescan
- "{{ .Values.smartctl.rescanInterval }}"
- --smartctl.device-exclude
- "{{ .Values.smartctl.excludedDevices }}"
- --log.level
- "{{ .Values.logs.general.level }}"
- --log.format
- "{{ .Values.logs.general.format }}"
probes:
liveness:
path: "{{ .Values.smartctl.metricsEndpoint }}"
port: main
readiness:
path: "{{ .Values.smartctl.metricsEndpoint }}"
port: main
startup:
type: tcp
port: main
persistence:
hostdev:
enabled: true
type: hostPath
hostPath: /dev
mountPath: /hostdev
metrics:
main:
enabled: true
type: "servicemonitor"
endpoints:
- port: main
path: "{{ .Values.smartctl.metricsEndpoint }}"
portal:
open:
enabled: false
smartctl:
metricsEndpoint: "/metrics"
pollInterval: "60s"
rescanInterval: "10m"
excludedDevices: ""
logs:
general:
level: info
format: logfmt
configmap:
dashboard:
enabled: true
labels:
grafana_dashboard: "1"
data:
smartctl.json: >-
{{ .Files.Get "dashboard.json" | indent 8 }}