-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelasticsearch.yml
47 lines (47 loc) · 975 Bytes
/
elasticsearch.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
apiVersion: elasticsearch.k8s.elastic.co/v1alpha1
kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.1.0
http:
service:
spec:
type: LoadBalancer
ports:
- name: elastic-https-port
port: 9200
targetPort: 9200
protocol: TCP
tls:
selfSignedCertificate:
subjectAltNames:
- ip: 0.0.0.0
nodes:
- nodeCount: 3
config:
node.master: false
node.data: true
node.ingest: false
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
- nodeCount: 2
config:
node.master: true
node.data: false
node.ingest: true
podTemplate:
spec:
containers:
- name: elasticsearch-master
resources:
limits:
memory: 4Gi
cpu: 1