blob: 155cfdffd6ec639552cb35c3d4ba8a80c07a50be [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.elasticsearch.server.cluster
3- service.java.environment
Ondrej Smola03ff34e2016-12-01 01:30:33 +01004parameters:
5 _param:
6 java_environment_version: "8"
7 java_environment_platform: openjdk
Mateusz Matuszkowiak0df401e2019-01-30 13:42:48 +01008 elasticsearch_cluster_name: ${_param:cluster_name}
Ondrej Smola03ff34e2016-12-01 01:30:33 +01009 linux:
10 system:
11 sysctl:
12 vm.max_map_count: 262144
13 vm.swappiness: 0
Ondrej Smola03ff34e2016-12-01 01:30:33 +010014 java:
15 environment:
16 headless: true
17 elasticsearch:
18 server:
vgusevea57f432017-11-09 16:13:41 +040019 version: ${_param:elasticsearch_version}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010020 enabled: true
21 master: true
22 data: true
23 mlockall: true
24 bind:
25 address: ${_param:single_address}
26 port: 9200
27 index:
28 replicas: 2
29 threadpool:
30 bulk:
31 queue_size: 1000
32 gateway:
33 expected_nodes: 3
34 recover_after_nodes: 2
35 recover_after_time: 5m
36 cluster:
Mateusz Matuszkowiak0df401e2019-01-30 13:42:48 +010037 name: ${_param:elasticsearch_cluster_name}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010038 multicast: false
39 minimum_master_nodes: 2
40 members:
41 - host: ${_param:cluster_node01_address}
42 - host: ${_param:cluster_node02_address}
43 - host: ${_param:cluster_node03_address}