fix(node_exporter): Move hostNetwork to spec level
This commit is contained in:
parent
ab7a7e5360
commit
97102bb7e5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user