-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook.yaml
40 lines (32 loc) · 1.14 KB
/
playbook.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- hosts: localhost # Kubectl is configured from this machine
roles:
- prep
- elastic_search
- kibana
- logstash
- filebeat
vars:
#Global
# namespace to deploy the elastic stack
deployment_namespace: "logs"
# deploy logstash with ELK stack for functions that are exclusive for logstash
# false: filebeat will send logs directly to elasticsearch
# true: filebeat will forward logs to logstash and allows filters to be configured
deploy_with_logstash: true
# PV storage class name
storage_class_name: "local-path"
# place storage provider class for PV claim in /roles/prep/files
storage_class_file: "local-path-storage.yaml"
# All component in stack will use the same version to avoid compatibility issue
image_version: "7.15.1"
#Elastic Search
# Number of elastic search replicas to deploy
elasticsearch_replica: 3
# minimum number of master node
min_master_node: 2
# PV Size
elastic_storage: 30Gi
#Logstash
# Number of logstash replicas to deploy
logstash_replica: 1
logstash_storage: 5Gi