92 lines
2.4 KiB
YAML
92 lines
2.4 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/node-exporter
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.5.0@sha256:3e66f61c18145bb2267e2caf74e8ac5dcf48f75ac276890838355ba8069952c9
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 9910
|
|
|
|
workload:
|
|
main:
|
|
type: DaemonSet
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
args:
|
|
- --path.procfs=/host/proc
|
|
- --path.sysfs=/host/sys
|
|
- --web.listen-address=0.0.0.0:{{ .Values.service.main.ports.main.port }}
|
|
- --collector.filesystem.ignored-mount-points="^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+|var/db/system/.+|mnt/[a-zA-Z0-9-_\\.]+/ix-applications/.+)($|/)"
|
|
- --collector.filesystem.ignored-fs-types="^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
|
|
- --collector.netdev.device-exclude="^veth.*$"
|
|
- --collector.netclass.ignored-devices="^veth.*$"
|
|
probes:
|
|
liveness:
|
|
path: /
|
|
port: main
|
|
|
|
readiness:
|
|
path: /
|
|
port: main
|
|
|
|
startup:
|
|
type: tcp
|
|
port: main
|
|
|
|
podOptions:
|
|
hostNetwork: true
|
|
hostPID: true
|
|
|
|
persistence:
|
|
host:
|
|
enabled: true
|
|
hostPath: /
|
|
mountPath: /host
|
|
readOnly: true
|
|
proc:
|
|
enabled: true
|
|
hostPath: /proc
|
|
mountPath: /host/proc
|
|
readOnly: true
|
|
sys:
|
|
enabled: true
|
|
hostPath: /sys
|
|
mountPath: /host/sys
|
|
readOnly: true
|
|
|
|
metrics:
|
|
main:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: true
|
|
type: serviceMonitor
|
|
endpoints:
|
|
- port: main
|
|
path: /metrics
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
# @default -- See values.yaml
|
|
prometheusRule:
|
|
enabled: false
|
|
labels: {}
|
|
# -- Configure additionial rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules:
|
|
[]
|
|
# - alert: UnifiPollerAbsent
|
|
# annotations:
|
|
# description: Unifi Poller has disappeared from Prometheus service discovery.
|
|
# summary: Unifi Poller is down.
|
|
# expr: |
|
|
# absent(up{job=~".*unifi-poller.*"} == 1)
|
|
# for: 5m
|
|
# labels:
|
|
# severity: critical
|
|
|
|
portal:
|
|
open:
|
|
enabled: false
|