summaryrefslogtreecommitdiffstats
path: root/monitor/cadvisor_install.sh
diff options
context:
space:
mode:
authorRutuja Surve <rutuja.r.surve@gmail.com>2017-11-14 04:36:23 +0000
committerRutuja Surve <rutuja.r.surve@gmail.com>2017-11-14 04:43:55 +0000
commit1baf04d3b5f2348977dc3481fd2dd5fac181d84c (patch)
tree949adb56ffaf0cfe732baac1c0e6e24b8978efb0 /monitor/cadvisor_install.sh
parent2b84ec5fef4272cf7df6f9c0ae5fb2c239a5b7cc (diff)
Cadvisor Client-Server installation automation script
JIRA: BOTTLENECK-181 Automated the installation for cadvisor client from jump server host and added docker installation of cadvisor in monitoring script. Change-Id: I906b5237bc0ed320106309c1a29e8dd72a05a427 Signed-off-by: Rutuja Surve <rutuja.r.surve@gmail.com>
Diffstat (limited to 'monitor/cadvisor_install.sh')
-rw-r--r--monitor/cadvisor_install.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/monitor/cadvisor_install.sh b/monitor/cadvisor_install.sh
new file mode 100644
index 00000000..524e24d8
--- /dev/null
+++ b/monitor/cadvisor_install.sh
@@ -0,0 +1,10 @@
+sudo docker run \
+ --volume=/:/rootfs:ro \
+ --volume=/var/run:/var/run:rw \
+ --volume=/sys:/sys:ro \
+ --volume=/var/lib/docker/:/var/lib/docker:ro \
+ --volume=/dev/disk/:/dev/disk:ro \
+ --publish=8080:8080 \
+ --detach=true \
+ --name=cadvisor \
+ google/cadvisor:v0.25.0 \ -storage_driver=Prometheus