cc555c4196
This allows the install type for the project to be different than kolla_install_type This can be used to avoid hitting bug 1786238, since kuryr only supports the source type. Change-Id: I2b6fc85bac092b1614bccfd22bee48442c55dda4 Closes-Bug: #1786238
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
---
|
|
project_name: "telegraf"
|
|
|
|
telegraf_services:
|
|
telegraf:
|
|
container_name: "telegraf"
|
|
image: "{{ telegraf_image_full }}"
|
|
enabled: true
|
|
pid_mode: "host"
|
|
group: "telegraf"
|
|
volumes: "{{ telegraf_default_volumes + telegraf_extra_volumes }}"
|
|
dimensions: "{{ telegraf_dimensions }}"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
telegraf_install_type: "{{ kolla_install_type }}"
|
|
telegraf_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ telegraf_install_type }}-telegraf"
|
|
telegraf_tag: "{{ openstack_release }}"
|
|
telegraf_image_full: "{{ telegraf_image }}:{{ telegraf_tag }}"
|
|
telegraf_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
telegraf_default_volumes:
|
|
- "{{ node_config_directory }}/telegraf/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "/sys:/rootfs/sys:ro"
|
|
- "/proc:/rootfs/proc:ro"
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
|
|
telegraf_extra_volumes: "{{ default_extra_volumes }}"
|
|
|
|
####################
|
|
# Protocols
|
|
####################
|
|
elasticsearch_proto: "http"
|
|
haproxy_proto: "http"
|
|
influxdb_proto: "http"
|
|
rabbitmq_proto: "http"
|
|
mariadb_proto: "tcp"
|
|
outward_rabbitmq_proto: "http"
|