forked from khteh/Kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelasticsearch-config.yml
49 lines (47 loc) · 1.72 KB
/
elasticsearch-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: "2018-12-28T04:09:38Z"
name: elasticsearch-config
namespace: default
resourceVersion: "789954"
selfLink: /api/v1/namespaces/default/configmaps/elasticsearch-config
uid: 6494f746-0a56-11e9-a34a-482ae31e6a94
data:
elasticsearch-master.yml: |+
cluster.name: elasticsearch
cluster.initial_master_nodes:
- elasticsearch-master-0
- elasticsearch-master-1
- elasticsearch-master-2
discovery.seed_hosts:
- elasticsearch-master-0.svc-elasticsearch-discovery.default.svc.cluster.local:9300
- elasticsearch-master-1.svc-elasticsearch-discovery.default.svc.cluster.local:9300
- elasticsearch-master-2.svc-elasticsearch-discovery.default.svc.cluster.local:9300
script.painless.regex.enabled: true
http.cors.enabled: true
http.cors.allow-origin: "*"
network.host: _site_
node.name: ${HOSTNAME}
node.master: true
node.data: false
bootstrap.memory_lock: true
elasticsearch-data.yml: |+
cluster.name: elasticsearch
cluster.initial_master_nodes:
- elasticsearch-master-0
- elasticsearch-master-1
- elasticsearch-master-2
discovery.seed_hosts:
- elasticsearch-master-0.svc-elasticsearch-discovery.default.svc.cluster.local:9300
- elasticsearch-master-1.svc-elasticsearch-discovery.default.svc.cluster.local:9300
- elasticsearch-master-2.svc-elasticsearch-discovery.default.svc.cluster.local:9300
script.painless.regex.enabled: true
http.cors.enabled: true
http.cors.allow-origin: "*"
network.host: _site_
node.name: ${HOSTNAME}
node.master: false
node.data: true
bootstrap.memory_lock: true
ES_JAVA_OPTS: -Xms5g -Xmx5g -Djna.tmpdir=/tmp