Files
homelab-infra/ansible/roles/vmagent/templates/cadvisor.yml.j2
T
karpenok 6a2f90797a
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 39s
ansible-deploy / deploy (core-net, ) (push) Successful in 57s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 25s
ansible-deploy / deploy (ger-nod-02, ) (push) Successful in 57s
ansible-deploy / deploy (opnsense, ) (push) Successful in 15s
chore: remove NetBird and Authentik layers from homelab
2026-11-19 10:50:19 +07:00

14 lines
417 B
Django/Jinja

- job_name: integrations/cAdvisor
scrape_interval: 15s
static_configs:
- targets: ["127.0.0.1:9101"]
labels:
instance: "{{ vmagent_instance }}"
cluster: "{{ vmagent_cluster }}"
{% for target in (vmagent_remote_pull_targets | default([])) %}
- targets: ["{{ target.ip }}:9101"]
labels:
instance: "{{ target.name }}"
cluster: "{{ vmagent_cluster }}"
{% endfor %}