Files
configpolicy/roles/vmagent/defaults/main.yml
Dustin C. Hatch 3e8ac36f88 r/vmagent: Rework as container deployment
Like the _blackbox-exporter_ role, the _vmagent_ role now deploys
`vmagent` as a container.  This simplifies the process considerably,
eliminating the download/transfer step.

While refactoring this role, I also changed how the trusted CA
certificates are handled.  Rather than copy files, the role now expects
a `vmagent_ca_certs` variable.  This variable is a mapping of
certificate name (file name without extension) to PEM contents.  This
allows certificates to be defined using normal host/group variables.
2025-01-26 13:08:59 -06:00

16 lines
365 B
YAML

vmagent_container_image_name: docker.io/victoriametrics/vmagent
vmagent_container_image_tag: latest
vmagent_ca_certs: {}
vmagent_remotewrite_url: http://[::1]:8428/api/v1/write
vmagent_scrape_interval: 1m
vmagent_scrape_configs: []
vmagent_config:
global:
scrape_interval: '{{ vmagent_scrape_interval }}'
scrape_configs: "{{ vmagent_scrape_configs }}"