Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.elasticsearch.server.cluster |
| 3 | - service.java.environment |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 4 | parameters: |
| 5 | _param: |
| 6 | java_environment_version: "8" |
| 7 | java_environment_platform: openjdk |
Vnaumov | 1ab31f3 | 2017-10-09 14:53:39 +0300 | [diff] [blame] | 8 | elasticsearch_cluster_name: elasticsearch |
vgusev | ea57f43 | 2017-11-09 16:13:41 +0400 | [diff] [blame] | 9 | elasticsearch_version: 2 |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 10 | linux: |
| 11 | system: |
| 12 | sysctl: |
| 13 | vm.max_map_count: 262144 |
| 14 | vm.swappiness: 0 |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 15 | java: |
| 16 | environment: |
| 17 | headless: true |
| 18 | elasticsearch: |
| 19 | server: |
vgusev | ea57f43 | 2017-11-09 16:13:41 +0400 | [diff] [blame] | 20 | version: ${_param:elasticsearch_version} |
Vnaumov | 1ab31f3 | 2017-10-09 14:53:39 +0300 | [diff] [blame] | 21 | name: ${_param:elasticsearch_cluster_name} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 22 | 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} |