Enable udevadm in the container for node_exporter #1888
Unanswered
TProhofsky
asked this question in
General
Replies: 1 comment
-
After looking deeper at the node_exporter code I see it does not call udevadm but uses the /run/udev/data directly. This makes the solution obvious by adding a read only volume mount in the pod spec. This works for me:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Node_exporter 1.4.0 now supports reporting udevadm information on devices like serial number and world wide name. When node_exporter is running inside the container it doesn't have the udevadm executable and libraries and any other mappings required for operation. Is there a plan to add what is needed through the pod spec or is the node_exporter Dockerfile going to capture the magic? What is the best way to enable the new metrics available in 1.4.0 with a kube-prometheus deployment?
Beta Was this translation helpful? Give feedback.
All reactions