blob: 76774aafcc9bf0c7a2d97f9155f2dec635e9dc71 [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
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}
Vnaumov1ab31f32017-10-09 14:53:39 +030020 name: ${_param:elasticsearch_cluster_name}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010021 enabled: true
22 master: true
23 data: true
24 mlockall: true
25 bind:
26 address: ${_param:single_address}
27 port: 9200
28 index:
29 replicas: 2
30 threadpool:
31 bulk:
32 queue_size: 1000
33 gateway:
34 expected_nodes: 3
35 recover_after_nodes: 2
36 recover_after_time: 5m
37 cluster:
38 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}