nahsi.cadvisor

cAdvisor

Install, set up, and manage cAdvisor.

Role Philosophy

For more information, check ansible-consul.

Role Variables

Refer to the defaults/ directory for more details.

cadvisor_version

  • The version you want to use.

cadvisor_checksum

  • The checksum for the cAdvisor binary, which you can find on the release page.
  • Example:
cadvisor_checksum: "sha256:65109ea14132bce91bb2a92dc70248c705ba26fb2a7d55e295bf4192940a396c"

cadvisor_dirs

  • A list of directories that will be created.
  • Default settings:
cadvisor_dir: "/opt/cadvisor"
cadvisor_dirs:
  certs:
    path: "{{ cadvisor_dir }}/certs"
  textfile:
    path: "{{ cadvisor_dir }}/textfile"
  logs:
    path: "/var/log/cadvisor"

cadvisor_options

cadvisor_port

  • Default setting:
cadvisor_port: 9280

cadvisor_user

  • The user who owns the cAdvisor process and files.
  • Default: cadvisor

cadvisor_group

  • The group that the cadvisor_user belongs to.
  • Default: cadvisor

cadvisor_groups

  • List of groups to add the cAdvisor user to.

cadvisor_service

  • OpenRC service file.

cadvisor_unitfile

skip_handlers

  • Option to skip restart/reload, useful for building images with Packer.
  • Default: false

Tags

  • config - Used to update the cAdvisor unit/service.

Author

  • Anatoly Laskaris - nahsi
Informazioni sul progetto

Manage Cadvisor

Installa
ansible-galaxy install nahsi.cadvisor
Licenza
mit
Download
1.8k
Proprietario