blob: 1bbe404b188a8864c67ef60e1fc27ccf34912e16 [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
Vnaumov1ab31f32017-10-09 14:53:39 +03008 elasticsearch_cluster_name: elasticsearch
vgusevde147bf2017-12-06 12:16:25 +04009 elasticsearch_version: 5
Ondrej Smola03ff34e2016-12-01 01:30:33 +010010 linux:
11 system:
12 sysctl:
13 vm.max_map_count: 262144
14 vm.swappiness: 0
Ondrej Smola03ff34e2016-12-01 01:30:33 +010015 java:
16 environment:
17 headless: true
18 elasticsearch:
19 server:
vgusevea57f432017-11-09 16:13:41 +040020 version: ${_param:elasticsearch_version}
Vnaumov1ab31f32017-10-09 14:53:39 +030021 name: ${_param:elasticsearch_cluster_name}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010022 enabled: true
23 master: true
24 data: true
25 mlockall: true
26 bind:
27 address: ${_param:single_address}
28 port: 9200
29 index:
30 replicas: 2
31 threadpool:
32 bulk:
33 queue_size: 1000
34 gateway:
35 expected_nodes: 3
36 recover_after_nodes: 2
37 recover_after_time: 5m
38 cluster:
39 multicast: false
40 minimum_master_nodes: 2
41 members:
42 - host: ${_param:cluster_node01_address}
43 - host: ${_param:cluster_node02_address}
44 - host: ${_param:cluster_node03_address}