update node-exporter

This commit is contained in:
2024-06-27 00:33:28 +10:00
parent a7b26bbe6f
commit b96697689e

View File

@@ -17,6 +17,7 @@ spec:
spec:
hostNetwork: true
hostPID: true
hostIPC: true
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
@@ -24,9 +25,6 @@ spec:
labelSelector:
matchLabels:
app: prometheus-node-exporter
securityContext:
runAsUser: 0
runAsGroup: 0
containers:
- name: prometheus-node-exporter
image: prom/node-exporter
@@ -37,6 +35,8 @@ spec:
mountPath: /host
readOnly: true
mountPropagation: HostToContainer
securityContext:
privileged: true
volumes:
- name: node-volume
hostPath: