Open omilun opened 5 years ago
@omilun I'm afraid I have no idea. I haven't used this repo in a while since Prometheus is now a part of OpenShift.
Are you running as a DaemonSet or natively?
Yes.I am using NodeExporter as a DaemonSet.
Might be worthwhile trying a native deployment to ensure it's not something on the nodes rather the container.
Can you try natively to see if this happens then, too? From a quick glance the hostpath mounts seem to give all necessary permissions.
I have solved this issue today. node exporter needs a SCC users and enable security context privilege to yaml file. for version 0.17+
Great. Mind sending me a pull request to fix this, please?
I just realized that your node-exporter.yaml and setup.sh already had the fix (privileged
SCC).
Doesn't enabling privileged
have security implications?!
It does. But of course there are use cases where it's necessary. That's why SCCs exist. And a Node Exporter without full access to the host doesn't make a lot of sense. So it's OK to do it here.
Hello i am using the node-exporter and it can not collect filesystem metrics . Node-exporter log has an error :
I don't have any problems with Node-exporter version 0.16 but new version (0.17) has this problem . Prometheus contributors solve this problem at latest version (0.18)