8
8
# the most important settings you may want to configure for a production cluster.
9
9
#
10
10
# Please see the documentation for further information on configuration options:
11
- # <https ://www.elastic.co/guide/en/elasticsearch/reference/5.0/settings .html>
11
+ # <http ://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration .html>
12
12
#
13
13
# ---------------------------------- Cluster -----------------------------------
14
14
#
15
15
# Use a descriptive name for your cluster:
16
16
#
17
- # cluster.name: my-application
17
+ # cluster.name: my-application
18
18
#
19
19
# ------------------------------------ Node ------------------------------------
20
20
#
21
21
# Use a descriptive name for the node:
22
22
#
23
- # node.name: node-1
23
+ # node.name: node-1
24
24
#
25
25
# Add custom attributes to the node:
26
26
#
27
- # node.attr .rack: r1
27
+ # node.rack: r1
28
28
#
29
29
# ----------------------------------- Paths ------------------------------------
30
30
#
31
31
# Path to directory where to store the data (separate multiple locations by comma):
32
32
#
33
- # path.data: /path/to/data
33
+ # path.data: /path/to/data
34
34
#
35
35
# Path to log files:
36
36
#
37
- # path.logs: /path/to/logs
37
+ # path.logs: /path/to/logs
38
38
#
39
39
# ----------------------------------- Memory -----------------------------------
40
40
#
41
41
# Lock the memory on startup:
42
42
#
43
- # bootstrap.memory_lock: true
43
+ # bootstrap.memory_lock: true
44
44
#
45
- # Make sure that the heap size is set to about half the memory available
46
- # on the system and that the owner of the process is allowed to use this
47
- # limit.
45
+ # Make sure that the `ES_HEAP_SIZE` environment variable is set to about half the memory
46
+ # available on the system and that the owner of the process is allowed to use this limit.
48
47
#
49
48
# Elasticsearch performs poorly when the system is swapping the memory.
50
49
#
@@ -56,36 +55,40 @@ network.host: 127.0.0.1
56
55
#
57
56
# Set a custom port for HTTP:
58
57
#
59
- # http.port: 9200
58
+ # http.port: 9200
60
59
#
61
60
# For more information, see the documentation at:
62
- # <https ://www.elastic.co/guide/en/elasticsearch/reference/5.0 /modules-network.html>
61
+ # <http ://www.elastic.co/guide/en/elasticsearch/reference/current /modules-network.html>
63
62
#
64
63
# --------------------------------- Discovery ----------------------------------
65
64
#
66
65
# Pass an initial list of hosts to perform discovery when new node is started:
67
66
# The default list of hosts is ["127.0.0.1", "[::1]"]
68
67
#
69
- # discovery.zen.ping.unicast.hosts: ["host1", "host2"]
68
+ # discovery.zen.ping.unicast.hosts: ["host1", "host2"]
70
69
#
71
70
# Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
72
71
#
73
- # discovery.zen.minimum_master_nodes: 3
72
+ # discovery.zen.minimum_master_nodes: 3
74
73
#
75
74
# For more information, see the documentation at:
76
- # <https ://www.elastic.co/guide/en/elasticsearch/reference/5.0 /modules-discovery-zen .html>
75
+ # <http ://www.elastic.co/guide/en/elasticsearch/reference/current /modules-discovery.html>
77
76
#
78
77
# ---------------------------------- Gateway -----------------------------------
79
78
#
80
79
# Block initial recovery after a full cluster restart until N nodes are started:
81
80
#
82
- # gateway.recover_after_nodes: 3
81
+ # gateway.recover_after_nodes: 3
83
82
#
84
83
# For more information, see the documentation at:
85
- # <https ://www.elastic.co/guide/en/elasticsearch/reference/5.0 /modules-gateway.html>
84
+ # <http ://www.elastic.co/guide/en/elasticsearch/reference/current /modules-gateway.html>
86
85
#
87
86
# ---------------------------------- Various -----------------------------------
88
87
#
88
+ # Disable starting multiple nodes on a single system:
89
+ #
90
+ # node.max_local_storage_nodes: 1
91
+ #
89
92
# Require explicit names when deleting indices:
90
93
#
91
- # action.destructive_requires_name: true
94
+ # action.destructive_requires_name: true
0 commit comments