Remove cadvisor from coreos boxen as it doesn't play nice with toolbx

This commit is contained in:
Salt 2024-08-19 21:14:04 -05:00
parent 391e424199
commit bc8dd6d2bd

View File

@ -60,21 +60,6 @@
volumes:
- /:/host:ro,rslave
tags: [ prometheus ]
- name: assure prometheus cadvisor exporter
containers.podman.podman_container:
name: prometheus-cadvisor-exporter
image: gcr.io/cadvisor/cadvisor:latest
restart_policy: unless-stopped
privileged: yes
ports:
- 9101:8080/tcp
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /dev/disk:/dev/disk:ro
device:
- /dev/kmsg
when: ansible_pkg_mgr == "atomic_container"
- hosts: all
gather_facts: no