Files
truecharts/charts/dependency/node-exporter/values.yaml
T
Todd Radel 406fc0c26b bug(node-exporter): replace deprecated flags (#9857)
**Description**
Replaces the deprecated `--collector.filesystem.ignore-mount-points` and
`--collector.filesystem.ignore-fs-types` with
`--collector.filesystem.mount-points-exclude` and
`--collector.filesystem.fs-types-exclude`.

⚒️ Fixes  #9856 

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
Tested on my local install of TrueNAS Scale.

**📃 Notes:**
None.

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Todd Radel <todd@radel.us>
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-06-24 13:32:04 +02:00

96 lines
2.5 KiB
YAML

image:
repository: tccr.io/truecharts/node-exporter
pullPolicy: IfNotPresent
tag: v1.6.0@sha256:b82ff647c4861ed4d31f1872a60c412320bff19f28235879bebe6339f85ccb51
service:
main:
ports:
main:
protocol: http
port: 9910
workload:
main:
type: DaemonSet
podSpec:
containers:
main:
args:
- --path.rootfs=/host
- --path.procfs=/hostproc
- --path.sysfs=/hostsys
- --web.listen-address=0.0.0.0:{{ .Values.service.main.ports.main.port }}
- --collector.filesystem.mount-points-exclude="^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+|var/db/system/.+|mnt/[a-zA-Z0-9-_\\.]+/ix-applications/.+)($|/)"
- --collector.filesystem.fs-types-exclude="^(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
type: hostPath
hostPath: /
mountPath: /host
readOnly: true
proc:
enabled: true
type: hostPath
hostPath: /proc
mountPath: /hostproc
readOnly: true
sys:
enabled: true
type: hostPath
hostPath: /sys
mountPath: /hostsys
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