e610a73e98
We don't add extra volumes support for all services in patch [1].
In order to unify the management of the volume, so we need add extra volumes
support for these services.
[1] 12ff28a693
Change-Id: Ie148accdd8e6c60df6b521d55bda12b850c0d255
Partially-Implements: blueprint support-extra-volumes
Signed-off-by: ZijianGuo <guozijn@gmail.com>
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
---
|
|
project_name: "collectd"
|
|
|
|
collectd_services:
|
|
collectd:
|
|
container_name: collectd
|
|
group: collectd
|
|
enabled: true
|
|
image: "{{ collectd_image_full }}"
|
|
privileged: True
|
|
volumes: "{{ collectd_default_volumes + collectd_extra_volumes }}"
|
|
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 }}"
|
|
|
|
collectd_default_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"
|
|
collectd_extra_volumes: "{{ default_extra_volumes }}"
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
collectd_logging_debug: "{{ openstack_logging_debug }}"
|