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/component: exporter
|
||||||
app.kubernetes.io/name: node-exporter
|
app.kubernetes.io/name: node-exporter
|
||||||
spec:
|
spec:
|
||||||
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
- --path.sysfs=/host/sys
|
- --path.sysfs=/host/sys
|
||||||
@ -26,7 +27,6 @@ spec:
|
|||||||
- --collector.netclass.ignored-devices=^(veth.*)$
|
- --collector.netclass.ignored-devices=^(veth.*)$
|
||||||
name: node-exporter
|
name: node-exporter
|
||||||
image: prom/node-exporter
|
image: prom/node-exporter
|
||||||
hostNetwork: true
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9100
|
- containerPort: 9100
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user