2021-11-28 10:16:31 +00:00
|
|
|
podSecurityPolicy:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
kubeStateMetrics:
|
2022-03-05 15:20:00 +00:00
|
|
|
enabled: true
|
2021-11-28 10:16:31 +00:00
|
|
|
|
|
|
|
nodeExporter:
|
|
|
|
enabled: true
|
2022-01-08 16:35:06 +00:00
|
|
|
image:
|
|
|
|
repository: quay.io/prometheus/node-exporter
|
2022-09-27 02:36:00 +00:00
|
|
|
tag: v1.4.0
|
2022-01-08 16:35:06 +00:00
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
hostNetwork: true
|
|
|
|
hostPID: true
|
|
|
|
hostRootfs: true
|
|
|
|
|
|
|
|
extraHostPathMounts:
|
|
|
|
- name: textfile-dir
|
|
|
|
mountPath: /srv/txt_collector
|
|
|
|
hostPath: /var/lib/node-exporter
|
|
|
|
readOnly: true
|
|
|
|
mountPropagation: HostToContainer
|
|
|
|
server:
|
|
|
|
enabled: true
|
2022-01-08 16:35:06 +00:00
|
|
|
image:
|
|
|
|
repository: quay.io/prometheus/prometheus
|
2022-11-18 00:06:09 +00:00
|
|
|
tag: v2.40.2
|
2022-02-06 08:22:31 +00:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
2021-11-28 10:16:31 +00:00
|
|
|
|
|
|
|
persistentVolume:
|
|
|
|
enabled: true
|
|
|
|
|
2022-03-05 15:20:00 +00:00
|
|
|
sidecarContainers:
|
|
|
|
smartctl:
|
|
|
|
name: smartctl-exporter
|
|
|
|
image: matusnovak/prometheus-smartctl:latest
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
privileged: true
|
|
|
|
ports:
|
|
|
|
- name: metrics
|
|
|
|
containerPort: 9902
|
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
pushgateway:
|
|
|
|
enabled: true
|
|
|
|
|
2022-03-05 15:20:00 +00:00
|
|
|
extraScrapeConfigs: |
|
2022-03-01 17:06:34 +00:00
|
|
|
- job_name: 'openwrt'
|
|
|
|
scrape_interval: 10s
|
|
|
|
static_configs:
|
2021-11-28 10:16:31 +00:00
|
|
|
- targets: ['192.168.1.1:9100']
|
2022-03-05 15:20:00 +00:00
|
|
|
- job_name: 'smartctl'
|
|
|
|
scrape_interval: 60s
|
|
|
|
static_configs:
|
|
|
|
- targets: ['127.0.0.1:9902']
|
2021-11-28 10:16:31 +00:00
|
|
|
# - job_name: 'octoprint'
|
|
|
|
# scrape_interval: 5s
|
|
|
|
# metrics_path: '/plugin/prometheus_exporter/metrics'
|
|
|
|
# params:
|
|
|
|
# apikey: ['__OCTOPRINT_APIKEY__']
|
|
|
|
# static_configs:
|
|
|
|
# - targets: ['octoprint:80']
|