
Added ansible role to deploy telegraf Roll out telegraf to all nodes Introduce parameter to toggle deployment of performance monitoring Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Change-Id: Ia09b20ce65bf557c1a1030eda99df5cc88debd01 Partially-Implements: Blueprint performance-monitoring
20 lines
643 B
YAML
20 lines
643 B
YAML
---
|
|
- name: Starting telegraf container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ telegraf_image_full }}"
|
|
name: "telegraf"
|
|
environment:
|
|
HOST_PROC: "/rootfs/proc"
|
|
HOST_SYS: "/rootfs/sys"
|
|
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"
|
|
- "haproxy_socket:/var/lib/kolla/haproxy/:rw"
|
|
pid_mode: "host"
|