cAdvisor
cAdvisor container monitoring.
cAdvisor can be run in a Docker container, however on RHEL/CentOS it requires additional flags. An alternative is to run it directly on the host system using this role.
Variables
Optional:
cadvisor_port
: Listen on this port, default9280
cadvisor_version
: Cadvisor version, defaultv0.29.0
cadvisor_checksum
: SHA256 checksum, defaultf5c8deb31eb12cae38007f0f4a208e0b9ba2b2ad6a1c9610b32d113221880d4eP
Example playbook
- hosts: localhost
roles:
- role: cadvisor
For overwrite default variables
- hosts: localhost
vars:
cadvisor_port: 9100
cadvisor_version: v0.28.3
cadvisor_checksum: daf4543dc1bc39e8234060376bf4946609b0f6108bdecbdf5ffd239e67664eb3
roles:
- ansible-role-cadvisor