b4632d2a24
Change-Id: Ia658b0774ce009feb6b4e73363114f7922833835 Partially-implements: blueprint better-reconfigure
36 lines
969 B
YAML
36 lines
969 B
YAML
---
|
|
project_name: "telegraf"
|
|
|
|
telegraf_services:
|
|
telegraf:
|
|
container_name: "telegraf"
|
|
image: "{{ telegraf_image_full }}"
|
|
enabled: true
|
|
pid_mode: "host"
|
|
group: "telegraf"
|
|
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"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
telegraf_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-telegraf"
|
|
telegraf_tag: "{{ openstack_release }}"
|
|
telegraf_image_full: "{{ telegraf_image }}:{{ telegraf_tag }}"
|
|
|
|
|
|
####################
|
|
# Protocols
|
|
####################
|
|
elasticsearch_proto: "http"
|
|
haproxy_proto: "http"
|
|
influxdb_proto: "http"
|
|
rabbitmq_proto: "http"
|
|
mariadb_proto: "tcp"
|