f1c8136556
Having all services in one giant haproxy file makes altering configuration for a service both painful and dangerous. Each service should be configured with a simple set of variables and rendered with a single unified template. Available are two new templates: * haproxy_single_service_listen.cfg.j2: close to the original style, but only one service per file * haproxy_single_service_split.cfg.j2: using the newer haproxy syntax for separated frontend and backend For now the default will be the single listen block, for ease of transition. Change-Id: I6e237438fbc0aa3c89a3c8bd706a53b74e71904b
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
---
|
|
project_name: "Kibana"
|
|
|
|
kibana_services:
|
|
kibana:
|
|
container_name: "kibana"
|
|
image: "{{ kibana_image_full }}"
|
|
enabled: true
|
|
group: "kibana"
|
|
volumes:
|
|
- "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
dimensions: "{{ kibana_dimensions }}"
|
|
haproxy:
|
|
kibana:
|
|
enabled: "{{ enable_kibana }}"
|
|
mode: "http"
|
|
external: false
|
|
port: "{{ kibana_server_port }}"
|
|
auth_user: "{{ kibana_user }}"
|
|
auth_pass: "{{ kibana_password }}"
|
|
kibana_external:
|
|
enabled: "{{ enable_kibana }}"
|
|
mode: "http"
|
|
external: true
|
|
port: "{{ kibana_server_port }}"
|
|
auth_user: "{{ kibana_user }}"
|
|
auth_pass: "{{ kibana_password }}"
|
|
|
|
|
|
####################
|
|
# Kibana
|
|
####################
|
|
kibana_default_app_id: "discover"
|
|
kibana_elasticsearch_request_timeout: 300000
|
|
kibana_elasticsearch_shard_timeout: 0
|
|
kibana_elasticsearch_ssl_verify: false
|
|
|
|
|
|
####################
|
|
# Default index
|
|
####################
|
|
kibana_default_index_pattern: "{{ kibana_log_prefix }}-*"
|
|
kibana_default_index:
|
|
title: "{{ kibana_default_index_pattern }}"
|
|
timeFieldName: "@timestamp"
|
|
kibana_default_index_options:
|
|
index.mapper.dynamic: true
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
kibana_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-kibana"
|
|
kibana_tag: "{{ openstack_release }}"
|
|
kibana_image_full: "{{ kibana_image }}:{{ kibana_tag }}"
|
|
kibana_dimensions: "{{ default_container_dimensions }}"
|