
Given the ops tools now have a skydive deployment capability there needs curator needs to be able to detect the addition of skydive indexes and build a curator policy accordingly. This change adds the new retention policy to the overlay inventory providing a sane default for most environments. The retention action files have been updated to remove the "-" as an index separator. This was done because not all indexes use a dash as a divider. Change-Id: I5b61720f27da00e0c3b92341355b09ea6c01caba
64 lines
2.5 KiB
YAML
64 lines
2.5 KiB
YAML
---
|
|
|
|
all_systems:
|
|
vars: {}
|
|
children:
|
|
systems:
|
|
vars:
|
|
ansible_become: yes
|
|
ansible_become_user: "root"
|
|
ansible_user: "root"
|
|
skydive_password: "{{ haproxy_stats_password }}"
|
|
skydive_elasticsearch_servers: "{{ groups['elastic-logstash'] | map('extract', hostvars, ['ansible_host']) | list | join(',') }}"
|
|
skydive_bind_address: "{{ container_address | default(ansible_host) }}"
|
|
elastic_skydive_retention: 2 # Elastic retention set to 2 days max
|
|
elastic_skydive_size: 51200 # Elastic retention set to 50GiB max
|
|
haproxy_extra_services:
|
|
- service:
|
|
haproxy_service_name: skydive_analyzer
|
|
haproxy_backend_nodes: "{{ groups['skydive_analyzers'] | default([]) }}"
|
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
|
haproxy_port: 8082
|
|
haproxy_balance_type: http
|
|
haproxy_ssl: true
|
|
haproxy_backend_options:
|
|
- "httpchk HEAD / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
|
- service:
|
|
haproxy_service_name: traefik
|
|
haproxy_backend_nodes: "{{ groups['skydive_analyzers'] | default([]) }}"
|
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
|
haproxy_port: 8090
|
|
haproxy_balance_type: http
|
|
haproxy_ssl: true
|
|
haproxy_backend_options:
|
|
- "httpchk HEAD / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
|
haproxy_backend_httpcheck_options:
|
|
- expect rstatus 200|401
|
|
|
|
children:
|
|
traefik_all:
|
|
children:
|
|
traefik_build_nodes: {}
|
|
|
|
skydive_all:
|
|
children:
|
|
skydive_build_nodes: {}
|
|
|
|
skydive_agents:
|
|
children:
|
|
hosts: {} # This is an osa native group, as such nothing needs to be added. Values will be inherited.
|
|
|
|
skydive_analyzers:
|
|
children:
|
|
utility_all: {} # This is an osa native group, as such nothing needs to be added. Values will be inherited.
|
|
|
|
elk_all:
|
|
children:
|
|
elastic-logstash:
|
|
children:
|
|
log_hosts: {} # This is an osa native group, as such nothing needs to be added. Values will be inherited.
|
|
|
|
kibana:
|
|
children:
|
|
log_hosts: {} # This is an osa native group, as such nothing needs to be added. Values will be inherited.
|