6df1b20618
Change-Id: I0cbc51eedb218f6b2f7d5c50372ad7a8be9bdcc0
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
---
|
|
project_name: "collectd"
|
|
|
|
collectd_services:
|
|
collectd:
|
|
container_name: collectd
|
|
group: collectd
|
|
enabled: true
|
|
image: "{{ collectd_image_full }}"
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/collectd/:{{ container_config_directory }}/:ro"
|
|
- "{{node_config_directory }}/collectd/collectd.conf.d/:/etc/collectd/collectd.conf.d/"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "/sys/:/sys/:ro"
|
|
- "/dev/:/dev/:ro"
|
|
dimensions: "{{ collectd_dimensions }}"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
collectd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-collectd"
|
|
collectd_tag: "{{ openstack_release }}"
|
|
collectd_image_full: "{{ collectd_image }}:{{ collectd_tag }}"
|
|
|
|
collectd_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
collectd_logging_debug: "{{ openstack_logging_debug }}"
|