From 31b5a34f023000b3f8f8da7c17fde94ba74cd86d Mon Sep 17 00:00:00 2001 From: Jacob Shufro Date: Fri, 20 Sep 2024 06:11:17 -0400 Subject: [PATCH] Fix issue with root mounted as rprivate --- install/deploy/templates/exporter.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/deploy/templates/exporter.tmpl b/install/deploy/templates/exporter.tmpl index 2f8553032..a8175cb22 100644 --- a/install/deploy/templates/exporter.tmpl +++ b/install/deploy/templates/exporter.tmpl @@ -29,7 +29,7 @@ services: - "/sys:/host/sys:ro,rslave" - "/var/lib/node_exporter/textfile_collector:/host/textfile_collector:ro" {{- if .Metrics.Exporter.RootFs.Value }} - - "/:/rootfs:ro" + - "/:/rootfs:ro,rslave" {{- end}} network_mode: host networks: