Skip to main content
Version: Unreleased

Node Exporter Sidecar Troubleshooting

No filesystem metrics

Metrics under node_filesystem_... (disk usage, available space) return no data even though the sidecar is running and /metrics is accessible.

Missing sub-mounts

The host root filesystem mount (/) must use shared propagation for the :rslave binding to expose sub-mounts (e.g. /data, /var, /opt) inside the container. If / uses the default private propagation, those sub-mounts are invisible to the container and node-exporter reports no filesystem metrics.

Endpoint unreachable

curl http://<host-ip>:9100/metrics times out or returns Connection refused when the sidecar container is running but the /metrics endpoint is inaccessible.

Causes

The container uses network_mode: host and another process already owns port 9100, or it is on a bridge network without an exposed port, or the sidecar is in a crash-loop.

Container refuses to start

The sidecar container exits immediately or fails to start due to a security policy violation.

Cause

Some container runtimes restrict the privileged flag. Kubernetes clusters with PodSecurity Admission or OPA/Gatekeeper may reject privileged pods.