fix(node_exporter): Move hostNetwork to spec level

This commit is contained in:
Tanguy Herbron 2025-02-25 12:41:11 +01:00
parent ab7a7e5360
commit 97102bb7e5

View File

@ -17,6 +17,7 @@ spec:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: node-exporter
spec:
hostNetwork: true
containers:
- args:
- --path.sysfs=/host/sys
@ -26,7 +27,6 @@ spec:
- --collector.netclass.ignored-devices=^(veth.*)$
name: node-exporter
image: prom/node-exporter
hostNetwork: true
ports:
- containerPort: 9100
protocol: TCP