## cAdvisor简介
google/cadvisor:v0.25.0
## Deployment
```bash
$ docker run -it --name cadvisor -p 8080:8080 \
-v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys:ro -v /var/lib/docker/:/var/lib/docker:ro \
google/cadvisor:v0.23.8
```
## 数据存入 influxdb 中
```bash
$ docker run -itd -p 8080:8080 --name cadvisor \
-v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys:ro -v /var/lib/docker/:/var/lib/docker:ro google/cadvisor:v0.23.8 \
-storage_driver=influxdb -storage_driver_host=influxdb.monitor.marathon.mesos:8086
-storage_driver_db=cadvisor -storage_driver_user=root -storage_driver_password=root -storage_driver_secure=false
```
> (需要事先在influxdb中创建数据库cadvisor, storage_driver_secure表示是否使用https)
## 数据存入 Prometheus 中
```bash
$ docker run -itd -p 8080:8080 --name cadvisor \
-v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys:ro -v /var/lib/docker/:/var/lib/docker:ro google/cadvisor:v0.23.8 \
-storage_driver=prometheus -prometheus_endpoint=
```
- Docker
- Docker入门
- docker管理UI
- 封装各大数据组件
- 自主封装
- 封装hadoop
- 封装spark
- 官方封装
- 封装hue
- 封装jenkins
- Swarm
- Swarm入门
- Zookeeper on swarm
- Hue on swarm
- Grafana
- influxDB
- Prometheus
- cAdvisor
- kubernetes
- k8s入门
- k8s部署dashboard
- minikube
- 手动搭建k8s的高可用集群
- 01环境准备
- 02部署etcd集群
- 03配置kubelet
- 04部署flannel网络
- 05部署master集群
- 06配置高可用
- 07部署node节点
- 08验证集群
- Monitor
- swarm 监控
- influxDB+Grafana
- Prometheus+Grafana