-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathes.yml
46 lines (46 loc) · 1.17 KB
/
es.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
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: cluster1
spec:
version: 7.15.1
http:
service:
metadata:
labels:
app: cluster1
annotations:
cloud.google.com/app-protocols: '{"https":"HTTPS"}'
service.alpha.kubernetes.io/app-protocols: '{"https":"HTTPS"}'
cloud.google.com/neg: '{"ingress": true}'
nodeSets:
- name: elasticsearch
count: 1
config:
xpack.security.authc:
anonymous:
username: anon
roles: monitoring_user
podTemplate:
spec:
initContainers:
- name: sysctl
securityContext:
privileged: true
command: ['sh', '-c', 'sysctl -w vm.max_map_count=262144']
containers:
- name: elasticsearch
readinessProbe:
httpGet:
scheme: HTTPS
port: 9200
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 6Gi
storageClassName: standard