Give cadvisor a hostname based label
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
d8a7d47993
commit
35037cf6e4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user