Code Review
/
bottlenecks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
248a51a
)
bug-fix: node-exporter on centos7 isolated with host net
07/60407/1
author
Yang (Gabriel) Yu
<Gabriel.yuyang@huawei.com>
Tue, 31 Jul 2018 02:45:44 +0000
(10:45 +0800)
committer
Yang (Gabriel) Yu
<Gabriel.yuyang@huawei.com>
Tue, 31 Jul 2018 02:45:44 +0000
(10:45 +0800)
Node-exporter container need to be isolated with host net
to make the port mapping work.
Change-Id: Id04ad458ea56ef4080bba8346a7a1bf034956e0d
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
monitor/monitoring.sh
patch
|
blob
|
history
diff --git
a/monitor/monitoring.sh
b/monitor/monitoring.sh
index
54146d8
..
758f77e
100644
(file)
--- a/
monitor/monitoring.sh
+++ b/
monitor/monitoring.sh
@@
-104,7
+104,6
@@
sudo docker run --name bottlenecks-node-exporter \
-v "/proc:/host/proc:ro" \
-v "/sys:/host/sys:ro" \
-v "/:/rootfs:ro" \
- --net="host" \
quay.io/prometheus/node-exporter:v0.14.0 \
-collector.procfs /host/proc \
-collector.sysfs /host/sys \