Give cadvisor a hostname based label
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Tobias Manske 2024-01-13 12:27:56 +01:00
parent d8a7d47993
commit 35037cf6e4
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -60,6 +60,7 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
container_name: "{{ inventory_hostname | replace('.', '-') }}-cadvisor"
privileged: true
labels:
- "prometheus-scrape.enabled=true"