Skip to content

ome/ansible-role-cadvisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cAdvisor

Actions Status Ansible Role

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, default 9280
  • cadvisor_version: Cadvisor version, default v0.29.0
  • cadvisor_binary_local_dir: Cadvisor binary file directory when running without connection to external, default ""
  • cadvisor_checksum: SHA256 checksum, default f5c8deb31eb12cae38007f0f4a208e0b9ba2b2ad6a1c9610b32d113221880d4eP

Example playbook

- hosts: localhost
  roles:
    - role: ome.cadvisor

For overwrite default variables

- hosts: localhost
  vars:
    cadvisor_port: 9100
    cadvisor_version: v0.28.3
    cadvisor_checksum: daf4543dc1bc39e8234060376bf4946609b0f6108bdecbdf5ffd239e67664eb3

  roles:
    - ansible-role-cadvisor

Author Information

[email protected]